Class JaxbServiceRegistration

java.lang.Object
org.opencastproject.serviceregistry.api.JaxbServiceRegistration
All Implemented Interfaces:
ServiceRegistration

public class JaxbServiceRegistration extends Object implements ServiceRegistration
A record of a service that creates and manages receipts.
  • Field Details

    • serviceType

      protected String serviceType
    • host

      protected String host
    • path

      protected String path
    • active

      protected boolean active
    • online

      protected boolean online
    • maintenanceMode

      protected boolean maintenanceMode
    • jobProducer

      protected boolean jobProducer
    • onlineFrom

      protected Date onlineFrom
      The last time the service has been declared online
    • serviceState

      protected ServiceState serviceState
    • stateChanged

      protected Date stateChanged
    • errorStateTrigger

      protected int errorStateTrigger
    • warningStateTrigger

      protected int warningStateTrigger
  • Constructor Details

    • JaxbServiceRegistration

      public JaxbServiceRegistration()
      Creates a new service registration which is online and not in maintenance mode.
    • JaxbServiceRegistration

      public JaxbServiceRegistration(ServiceRegistration serviceRegistration)
      Creates a new JAXB annotated service registration based on an existing service registration
      Parameters:
      serviceRegistration -
    • JaxbServiceRegistration

      public JaxbServiceRegistration(String serviceType, String host, String path)
      Creates a new service registration which is online and not in maintenance mode.
      Parameters:
      serviceType - the job type
      host - the host
    • JaxbServiceRegistration

      public JaxbServiceRegistration(String serviceType, String host, String path, boolean jobProducer)
      Creates a new service registration which is online and not in maintenance mode.
      Parameters:
      serviceType - the job type
      host - the host
      jobProducer -
  • Method Details