public abstract class OMAGServerServiceInstance extends Object
| Modifier and Type | Field and Description |
|---|---|
protected InvalidParameterHandler |
invalidParameterHandler |
protected int |
maxPageSize |
protected OpenMetadataServerSecurityVerifier |
securityVerifier |
protected String |
serverName |
protected String |
serviceName |
| Constructor and Description |
|---|
OMAGServerServiceInstance(String serverName,
String serviceName)
Deprecated.
|
OMAGServerServiceInstance(String serverName,
String serviceName,
int maxPageSize)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
InvalidParameterHandler |
getInvalidParameterHandler()
Return the handler for validating parameters.
|
String |
getServerName()
Return the server name.
|
String |
getServiceName()
Return this service's official name.
|
void |
setMaxPageSize(int maxPageSize)
Override the default maximum paging size.
|
void |
setSecurityVerifier(OpenMetadataServerSecurityVerifier securityVerifier)
Set up a new security verifier (the handler runs with a default verifier until this
method is called).
|
protected void |
setServerName(String serverName)
Set the server name.
|
void |
shutdown()
Unregister this instance from the instance map.
|
protected String serverName
protected String serviceName
protected int maxPageSize
protected InvalidParameterHandler invalidParameterHandler
protected OpenMetadataServerSecurityVerifier securityVerifier
@Deprecated public OMAGServerServiceInstance(String serverName, String serviceName)
serverName - name of the new serverserviceName - name of the new service instancepublic OMAGServerServiceInstance(String serverName, String serviceName, int maxPageSize)
serverName - name of the new serverserviceName - name of the new service instancemaxPageSize - maximum number of results that can be returned on a single call.protected void setServerName(String serverName)
serverName - name of this OMAG serverpublic void setSecurityVerifier(OpenMetadataServerSecurityVerifier securityVerifier)
securityVerifier - new security verifierpublic void setMaxPageSize(int maxPageSize)
maxPageSize - new valuepublic String getServerName() throws NewInstanceException
NewInstanceException - a problem occurred during initializationpublic String getServiceName()
public InvalidParameterHandler getInvalidParameterHandler()
public void shutdown()
Copyright © 2018–2020 ODPi. All rights reserved.