public class DinoViewAdmin extends ViewServiceAdmin
| Modifier and Type | Field and Description |
|---|---|
protected String |
resourceEndpointsPropertyName |
remoteServerName, remoteServerURL| Constructor and Description |
|---|
DinoViewAdmin()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected List<ResourceEndpointConfig> |
extractResourceEndpoints(List<ResourceEndpointConfig> resourceEndpoints,
String viewServiceFullName,
AuditLog auditLog)
Extract the resource endpoints property from the view services option.
|
void |
initialize(String serverName,
ViewServiceConfig viewServiceConfig,
AuditLog auditLog,
String serverUserName,
int maxPageSize)
Initialize the Dino view service.
|
void |
shutdown()
Shutdown the dino view service.
|
logBadConfigProperties, logBadConfiguration, throwUnexpectedInitializationExceptionprotected String resourceEndpointsPropertyName
public void initialize(String serverName, ViewServiceConfig viewServiceConfig, AuditLog auditLog, String serverUserName, int maxPageSize) throws OMAGConfigurationErrorException
initialize in class ViewServiceAdminserverName - name of the local serverviewServiceConfig - specific configuration properties for this view service.auditLog - audit log component for logging messages.serverUserName - user id to use to issue calls to the remote server.maxPageSize - maximum page size. 0 means unlimitedOMAGConfigurationErrorException - invalid parameters in the configuration properties.public void shutdown()
shutdown in class ViewServiceAdminprotected List<ResourceEndpointConfig> extractResourceEndpoints(List<ResourceEndpointConfig> resourceEndpoints, String viewServiceFullName, AuditLog auditLog) throws OMAGConfigurationErrorException
resourceEndpoints - options passed to the access service.viewServiceFullName - name of calling serviceauditLog - audit log for error messagesOMAGConfigurationErrorException - the supported zones property is not a list of zone names.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.