Class TemplateManagerAdmin
java.lang.Object
org.odpi.openmetadata.adminservices.registration.ViewServiceAdmin
org.odpi.openmetadata.viewservices.templatemanager.admin.TemplateManagerAdmin
TemplateManagerAdmin is the class that is called by the View Server to initialize and terminate
 the Template Manager OMVS.  The initialization call provides this OMVS with the Audit log and configuration.
- 
Field SummaryFields inherited from class org.odpi.openmetadata.adminservices.registration.ViewServiceAdminremoteServerName, remoteServerURL, supportedTypesForSearch
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidinitialize(String serverName, ViewServiceConfig viewServiceConfig, AuditLog auditLog, String serverUserName, String serverUserPassword, int maxPageSize) Initialize the view service.voidshutdown()Shutdown the Template Manager service.Methods inherited from class org.odpi.openmetadata.adminservices.registration.ViewServiceAdmingetFullServiceName, getSupportedTypesForSearchOption, logBadConfigProperties, logBadConfiguration, setFullServiceName, throwUnexpectedInitializationException
- 
Constructor Details- 
TemplateManagerAdminpublic TemplateManagerAdmin()Default constructor
 
- 
- 
Method Details- 
initializepublic void initialize(String serverName, ViewServiceConfig viewServiceConfig, AuditLog auditLog, String serverUserName, String serverUserPassword, int maxPageSize) throws OMAGConfigurationErrorException Initialize the view service.- Specified by:
- initializein class- ViewServiceAdmin
- Parameters:
- serverName- name of the local server
- viewServiceConfig- specific configuration properties for this view service.
- auditLog- audit log component for logging messages.
- serverUserName- user id to use on OMRS calls where there is no end user, or as part of an HTTP authentication mechanism with serverUserPassword.
- serverUserPassword- password to use as part of an HTTP authentication mechanism.
- maxPageSize- maximum page size. 0 means unlimited
- Throws:
- OMAGConfigurationErrorException- invalid parameters in the configuration properties.
 
- 
shutdownpublic void shutdown()Shutdown the Template Manager service.- Specified by:
- shutdownin class- ViewServiceAdmin
 
 
-