public class GovernanceServerServiceInstanceHandler extends AuditableServerServiceInstanceHandler
| Modifier and Type | Field and Description |
|---|---|
protected InvalidParameterHandler |
invalidParameterHandler |
platformInstanceMap, serviceName| Constructor and Description |
|---|
GovernanceServerServiceInstanceHandler(String serviceName)
Constructor passes the service name that is used on all calls to this instance.
|
| Modifier and Type | Method and Description |
|---|---|
ConnectorType |
validateConnector(String connectorProviderClassName,
Class<?> requiredConnectorInterface,
String serviceName)
Return the connector type for the requested connector provider after validating that the resulting
connector implements the correct interface.
|
getAuditLoggetServerSecurityVerifier, getServerServiceInstance, getServiceName, isServerActive, removeServerServiceInstanceprotected final InvalidParameterHandler invalidParameterHandler
public GovernanceServerServiceInstanceHandler(String serviceName)
serviceName - unique identifier for this service with a human meaningful valuepublic ConnectorType validateConnector(String connectorProviderClassName, Class<?> requiredConnectorInterface, String serviceName) throws InvalidParameterException, ConnectionCheckedException, ConnectorCheckedException, ClassNotFoundException, InstantiationException, IllegalAccessException
connectorProviderClassName - name of the connector provider classrequiredConnectorInterface - connector interface classserviceName - service nameInvalidParameterException - one of the parameters is nullConnectionCheckedException - the connection passed to the connector provider is not validConnectorCheckedException - the connector is not validClassNotFoundException - when the provided class cannot be foundInstantiationException - when the provided class cannot be instantiatedIllegalAccessException - when there is insufficient access to instantiate the provided classCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.