Class AccessServiceRegistration

  • All Implemented Interfaces:
    java.io.Serializable

    public class AccessServiceRegistration
    extends java.lang.Object
    implements java.io.Serializable
    AccessServiceRegistration is used by an access service to register its admin services interface. The registration is dynamic because access services from third parties can be written and run in the OMAGServerPlatform.
    See Also:
    Serialized Form
    • Constructor Detail

      • AccessServiceRegistration

        public AccessServiceRegistration​(int accessServiceCode,
                                         ComponentDevelopmentStatus accessServiceDevelopmentStatus,
                                         java.lang.String accessServiceName,
                                         java.lang.String accessServiceFullName,
                                         java.lang.String accessServiceURLMarker,
                                         java.lang.String accessServiceDescription,
                                         java.lang.String accessServiceWiki,
                                         ServiceOperationalStatus accessServiceOperationalStatus,
                                         java.lang.String accessServiceAdminClassName)
        Complete Constructor
        Parameters:
        accessServiceCode - ordinal for this access service
        accessServiceDevelopmentStatus - development status
        accessServiceName - symbolic name for this access service
        accessServiceFullName - full name for this access service
        accessServiceURLMarker - name of the part of the URL that is the name of the access service
        accessServiceDescription - short description for this access service
        accessServiceWiki - wiki page for the access service for this access service
        accessServiceOperationalStatus - default initial operational status for the access service
        accessServiceAdminClassName - name of AccessServiceAdmin implementation class for the access service
      • AccessServiceRegistration

        public AccessServiceRegistration​(AccessServiceDescription accessServiceDescription,
                                         ServiceOperationalStatus accessServiceOperationalStatus,
                                         java.lang.String accessServiceAdminClassName)
        Enum Constructor
        Parameters:
        accessServiceDescription - enum for this access service
        accessServiceOperationalStatus - default initial operational status for the access service
        accessServiceAdminClassName - name of AccessServiceAdmin implementation class for the access service
      • AccessServiceRegistration

        public AccessServiceRegistration()
        Default constructor
    • Method Detail

      • getAccessServiceCode

        public int getAccessServiceCode()
        Return the code for this access service
        Returns:
        int type code
      • setAccessServiceCode

        public void setAccessServiceCode​(int accessServiceCode)
        Set up the code for this access service
        Parameters:
        accessServiceCode - int type code
      • getAccessServiceDevelopmentStatus

        public ComponentDevelopmentStatus getAccessServiceDevelopmentStatus()
        Return the development status of the service.
        Returns:
        enum describing the status
      • setAccessServiceDevelopmentStatus

        public void setAccessServiceDevelopmentStatus​(ComponentDevelopmentStatus accessServiceDevelopmentStatus)
        Set up the development status of the service.
        Parameters:
        accessServiceDevelopmentStatus - enum describing the status
      • getAccessServiceName

        public java.lang.String getAccessServiceName()
        Return the default name for this access service.
        Returns:
        String default name
      • setAccessServiceName

        public void setAccessServiceName​(java.lang.String accessServiceName)
        Set up the default name for this access service.
        Parameters:
        accessServiceName - String default name
      • getAccessServiceFullName

        public java.lang.String getAccessServiceFullName()
        Return the full name for this access service.
        Returns:
        String default name
      • setAccessServiceFullName

        public void setAccessServiceFullName​(java.lang.String accessServiceFullName)
        Set up the full name for this access service.
        Parameters:
        accessServiceFullName - String default name
      • getAccessServiceURLMarker

        public java.lang.String getAccessServiceURLMarker()
        Return the string that appears in the REST API URL that identifies the owning service. Null means no REST APIs supported by this service.
        Returns:
        String default name
      • setServiceURLMarker

        public void setServiceURLMarker​(java.lang.String accessServiceURLMarker)
        Set up the string that appears in the REST API URL that identifies the owning service. Null means no REST APIs supported by this service.
        Parameters:
        accessServiceURLMarker - url fragment
      • getAccessServiceDescription

        public java.lang.String getAccessServiceDescription()
        Return the default description for the type for this access service.
        Returns:
        String default description
      • setAccessServiceDescription

        public void setAccessServiceDescription​(java.lang.String accessServiceDescription)
        Set up the default description for the type for this access service.
        Parameters:
        accessServiceDescription - String default description
      • getAccessServiceWiki

        public java.lang.String getAccessServiceWiki()
        Return the URL for the wiki page describing this access service.
        Returns:
        String URL for the wiki page
      • setAccessServiceWiki

        public void setAccessServiceWiki​(java.lang.String accessServiceWiki)
        Set up the URL for the wiki page describing this access service.
        Parameters:
        accessServiceWiki - String URL for the wiki page
      • getAccessServiceOperationalStatus

        public ServiceOperationalStatus getAccessServiceOperationalStatus()
        Return the initial operational status for this access service.
        Returns:
        ServiceOperationalStatus enum
      • setAccessServiceOperationalStatus

        public void setAccessServiceOperationalStatus​(ServiceOperationalStatus accessServiceOperationalStatus)
        Set up the initial operational status for this access service.
        Parameters:
        accessServiceOperationalStatus - ServiceOperationalStatus enum
      • getAccessServiceAdminClassName

        public java.lang.String getAccessServiceAdminClassName()
        Return the class name of the admin class that should be called during initialization and termination.
        Returns:
        class name
      • setAccessServiceAdminClassName

        public void setAccessServiceAdminClassName​(java.lang.String accessServiceAdminClassName)
        Set up the class name of the admin class that should be called during initialization and termination.
        Parameters:
        accessServiceAdminClassName - class name
      • getAccessServiceInTopic

        public java.lang.String getAccessServiceInTopic()
        Return the InTopic name for the access service.
        Returns:
        String topic name
      • getAccessServiceOutTopic

        public java.lang.String getAccessServiceOutTopic()
        Return the OutTopic name for the access service.
        Returns:
        String topic name