Class AccessServiceRegistrationEntry
java.lang.Object
org.odpi.openmetadata.adminservices.configuration.registration.AccessServiceRegistrationEntry
AccessServiceRegistrationEntry 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.
-
Constructor Summary
ConstructorDescriptionDefault constructorAccessServiceRegistrationEntry
(int accessServiceCode, ComponentDevelopmentStatus accessServiceDevelopmentStatus, String accessServiceName, String accessServiceFullName, String accessServiceURLMarker, String accessServiceDescription, String accessServiceWiki, ServiceOperationalStatus accessServiceInTopicStatus, ServiceOperationalStatus accessServiceOutTopicStatus, ServiceOperationalStatus accessServiceOperationalStatus, String accessServiceAdminClassName) Complete ConstructorAccessServiceRegistrationEntry
(AccessServiceDescription accessServiceDescription, ServiceOperationalStatus accessServiceOperationalStatus, String accessServiceAdminClassName) Enum Constructor -
Method Summary
Modifier and TypeMethodDescriptionReturn the class name of the admin class that should be called during initialization and termination.int
Return the code for this access serviceReturn the default description for the type for this access service.Return the development status of the service.Return the full name for this access service.Return the InTopic name for the access service.Return the default name for this access service.Return the initial operational status for this access service.Return the OutTopic name for the access service.Return the string that appears in the REST API URL that identifies the owning service.Return the URL for the wiki page describing this access service.void
setAccessServiceAdminClassName
(String accessServiceAdminClassName) Set up the class name of the admin class that should be called during initialization and termination.void
setAccessServiceCode
(int accessServiceCode) Set up the code for this access servicevoid
setAccessServiceDescription
(String accessServiceDescription) Set up the default description for the type for this access service.void
setAccessServiceDevelopmentStatus
(ComponentDevelopmentStatus accessServiceDevelopmentStatus) Set up the development status of the service.void
setAccessServiceFullName
(String accessServiceFullName) Set up the full name for this access service.void
setAccessServiceName
(String accessServiceName) Set up the default name for this access service.void
setAccessServiceOperationalStatus
(ServiceOperationalStatus accessServiceOperationalStatus) Set up the initial operational status for this access service.void
setAccessServiceWiki
(String accessServiceWiki) Set up the URL for the wiki page describing this access service.void
setServiceURLMarker
(String accessServiceURLMarker) Set up the string that appears in the REST API URL that identifies the owning service.
-
Constructor Details
-
AccessServiceRegistrationEntry
public AccessServiceRegistrationEntry(int accessServiceCode, ComponentDevelopmentStatus accessServiceDevelopmentStatus, String accessServiceName, String accessServiceFullName, String accessServiceURLMarker, String accessServiceDescription, String accessServiceWiki, ServiceOperationalStatus accessServiceInTopicStatus, ServiceOperationalStatus accessServiceOutTopicStatus, ServiceOperationalStatus accessServiceOperationalStatus, String accessServiceAdminClassName) Complete Constructor- Parameters:
accessServiceCode
- ordinal for this access serviceaccessServiceDevelopmentStatus
- development statusaccessServiceName
- symbolic name for this access serviceaccessServiceFullName
- full name for this access serviceaccessServiceURLMarker
- name of the part of the URL that is the name of the access serviceaccessServiceDescription
- short description for this access serviceaccessServiceWiki
- wiki page for the access service for this access serviceaccessServiceInTopicStatus
- is the access service inTopic implemented, operational or disabled?accessServiceOutTopicStatus
- is the access service outTopic implemented, operational or disabled?accessServiceOperationalStatus
- default initial operational status for the access serviceaccessServiceAdminClassName
- name of AccessServiceAdmin implementation class for the access service
-
AccessServiceRegistrationEntry
public AccessServiceRegistrationEntry(AccessServiceDescription accessServiceDescription, ServiceOperationalStatus accessServiceOperationalStatus, String accessServiceAdminClassName) Enum Constructor- Parameters:
accessServiceDescription
- enum for this access serviceaccessServiceOperationalStatus
- default initial operational status for the access serviceaccessServiceAdminClassName
- name of AccessServiceAdmin implementation class for the access service
-
AccessServiceRegistrationEntry
public AccessServiceRegistrationEntry()Default constructor
-
-
Method Details
-
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
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
Return the default name for this access service.- Returns:
- String default name
-
setAccessServiceName
Set up the default name for this access service.- Parameters:
accessServiceName
- String default name
-
getAccessServiceFullName
Return the full name for this access service.- Returns:
- String default name
-
setAccessServiceFullName
Set up the full name for this access service.- Parameters:
accessServiceFullName
- String default name
-
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
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
Return the default description for the type for this access service.- Returns:
- String default description
-
setAccessServiceDescription
Set up the default description for the type for this access service.- Parameters:
accessServiceDescription
- String default description
-
getAccessServiceWiki
Return the URL for the wiki page describing this access service.- Returns:
- String URL for the wiki page
-
setAccessServiceWiki
Set up the URL for the wiki page describing this access service.- Parameters:
accessServiceWiki
- String URL for the wiki page
-
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
Return the class name of the admin class that should be called during initialization and termination.- Returns:
- class name
-
setAccessServiceAdminClassName
Set up the class name of the admin class that should be called during initialization and termination.- Parameters:
accessServiceAdminClassName
- class name
-
getAccessServiceInTopic
Return the InTopic name for the access service. Null means that the topic is either not implemented or not enabled.- Returns:
- String topic name
-
getAccessServiceOutTopic
Return the OutTopic name for the access service. Null means that the topic is either not implemented or not enabled.- Returns:
- String topic name
-