Class AccessServiceRegistration
- java.lang.Object
-
- org.odpi.openmetadata.adminservices.configuration.registration.AccessServiceRegistration
-
- All Implemented Interfaces:
Serializable
public class AccessServiceRegistration extends Object implements 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 Summary
Constructors Constructor Description AccessServiceRegistration()Default constructorAccessServiceRegistration(int accessServiceCode, ComponentDevelopmentStatus accessServiceDevelopmentStatus, String accessServiceName, String accessServiceFullName, String accessServiceURLMarker, String accessServiceDescription, String accessServiceWiki, ServiceOperationalStatus accessServiceOperationalStatus, String accessServiceAdminClassName)Complete ConstructorAccessServiceRegistration(AccessServiceDescription accessServiceDescription, ServiceOperationalStatus accessServiceOperationalStatus, String accessServiceAdminClassName)Enum Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAccessServiceAdminClassName()Return the class name of the admin class that should be called during initialization and termination.intgetAccessServiceCode()Return the code for this access serviceStringgetAccessServiceDescription()Return the default description for the type for this access service.ComponentDevelopmentStatusgetAccessServiceDevelopmentStatus()Return the development status of the service.StringgetAccessServiceFullName()Return the full name for this access service.StringgetAccessServiceInTopic()Return the InTopic name for the access service.StringgetAccessServiceName()Return the default name for this access service.ServiceOperationalStatusgetAccessServiceOperationalStatus()Return the initial operational status for this access service.StringgetAccessServiceOutTopic()Return the OutTopic name for the access service.StringgetAccessServiceURLMarker()Return the string that appears in the REST API URL that identifies the owning service.StringgetAccessServiceWiki()Return the URL for the wiki page describing this access service.voidsetAccessServiceAdminClassName(String accessServiceAdminClassName)Set up the class name of the admin class that should be called during initialization and termination.voidsetAccessServiceCode(int accessServiceCode)Set up the code for this access servicevoidsetAccessServiceDescription(String accessServiceDescription)Set up the default description for the type for this access service.voidsetAccessServiceDevelopmentStatus(ComponentDevelopmentStatus accessServiceDevelopmentStatus)Set up the development status of the service.voidsetAccessServiceFullName(String accessServiceFullName)Set up the full name for this access service.voidsetAccessServiceName(String accessServiceName)Set up the default name for this access service.voidsetAccessServiceOperationalStatus(ServiceOperationalStatus accessServiceOperationalStatus)Set up the initial operational status for this access service.voidsetAccessServiceWiki(String accessServiceWiki)Set up the URL for the wiki page describing this access service.voidsetServiceURLMarker(String accessServiceURLMarker)Set up the string that appears in the REST API URL that identifies the owning service.
-
-
-
Constructor Detail
-
AccessServiceRegistration
public AccessServiceRegistration(int accessServiceCode, ComponentDevelopmentStatus accessServiceDevelopmentStatus, String accessServiceName, String accessServiceFullName, String accessServiceURLMarker, String accessServiceDescription, String accessServiceWiki, 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 serviceaccessServiceOperationalStatus- default initial operational status for the access serviceaccessServiceAdminClassName- name of AccessServiceAdmin implementation class for the access service
-
AccessServiceRegistration
public AccessServiceRegistration(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
-
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 String getAccessServiceName()
Return the default name for this access service.- Returns:
- String default name
-
setAccessServiceName
public void setAccessServiceName(String accessServiceName)
Set up the default name for this access service.- Parameters:
accessServiceName- String default name
-
getAccessServiceFullName
public String getAccessServiceFullName()
Return the full name for this access service.- Returns:
- String default name
-
setAccessServiceFullName
public void setAccessServiceFullName(String accessServiceFullName)
Set up the full name for this access service.- Parameters:
accessServiceFullName- String default name
-
getAccessServiceURLMarker
public 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(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 String getAccessServiceDescription()
Return the default description for the type for this access service.- Returns:
- String default description
-
setAccessServiceDescription
public void setAccessServiceDescription(String accessServiceDescription)
Set up the default description for the type for this access service.- Parameters:
accessServiceDescription- String default description
-
getAccessServiceWiki
public String getAccessServiceWiki()
Return the URL for the wiki page describing this access service.- Returns:
- String URL name for the wiki page
-
setAccessServiceWiki
public void setAccessServiceWiki(String accessServiceWiki)
Set up the URL for the wiki page describing this access service.- Parameters:
accessServiceWiki- String URL name 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 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(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 String getAccessServiceInTopic()
Return the InTopic name for the access service.- Returns:
- String topic name
-
getAccessServiceOutTopic
public String getAccessServiceOutTopic()
Return the OutTopic name for the access service.- Returns:
- String topic name
-
-