public interface ConnectorServerService
| Modifier and Type | Method and Description |
|---|---|
ConnectorServer |
create(ConnectorServer cs)
Creates instance of connector server.
|
void |
delete(ConnectorServer cs)
Deletes ConnectorServer instance
Note: ConnectorServer can only be deleted if it has no connectors deployed on it
|
java.util.List |
getAllConnectorServers()
Returns all connector servers configured
|
java.util.List |
getApplicationsConfigured(ConnectorServer cs)
Returns list of applications referencing connector bundles deployed on this connector server
|
java.util.List |
getConnectorsDeployed(ConnectorServer cs)
Refresh cache with list of connectors deployed on a connectorserver.
|
java.util.List |
search(SearchCriteria crit,
java.util.HashMap configParams) |
ConnectorServer |
searchByID(java.lang.String id) |
java.util.List |
searchByName(java.lang.String name) |
void |
testConnection(ConnectorServer cs)
Validate connection to the connector server
|
ConnectorServer |
update(ConnectorServer cs) |
ConnectorServer create(ConnectorServer cs) throws GenericAppConfigException, DuplicateConnectorServerException, AuthorizationFailedException
cs - -ConnectorServer instanceDuplicateConnectorServerExceptionAuthorizationFailedExceptionGenericAppConfigExceptionConnectorServer update(ConnectorServer cs) throws GenericAppConfigException, ConnectorServerNotFoundException, AuthorizationFailedException
void delete(ConnectorServer cs) throws GenericAppConfigException, ConnectorServerNotFoundException, AuthorizationFailedException
ConnectorServer - instance with atleast the id field populatedAuthorizationFailedExceptionConnectorServerNotFoundExceptionGenericAppConfigExceptionvoid testConnection(ConnectorServer cs) throws GenericAppConfigException
cs - - ConnectorServer instanceGenericAppConfigExceptionjava.util.List getAllConnectorServers()
throws GenericAppConfigException,
AuthorizationFailedException
GenericAppConfigExceptionAuthorizationFailedExceptionjava.util.List searchByName(java.lang.String name)
throws GenericAppConfigException,
AuthorizationFailedException
name - - Connector Server NameGenericAppConfigExceptionAuthorizationFailedExceptionConnectorServer searchByID(java.lang.String id) throws GenericAppConfigException, AuthorizationFailedException
name - - Connector Server IDGenericAppConfigExceptionAuthorizationFailedExceptionjava.util.List search(SearchCriteria crit, java.util.HashMap configParams) throws GenericAppConfigException, AuthorizationFailedException
crit - - Search crtieria can be ConnectorServer.ATTRIBUTE.NAME, ConnectorServer.ATTRIBUTE.ID,
ConnectorServer.ATTRIBUTE.HOSTconfigParams - -Parameters to further configure the search operation. There
are four configuration parameters. ProvisioningConstants.STARTROW, ENDROW, SORTEDBY
and SORTORDER.GenericAppConfigExceptionAuthorizationFailedExceptionjava.util.List getConnectorsDeployed(ConnectorServer cs) throws GenericAppConfigException, AuthorizationFailedException
cs - - ConnectorServer - containing idGenericAppConfigExceptionAuthorizationFailedExceptionjava.util.List getApplicationsConfigured(ConnectorServer cs) throws GenericAppConfigException, AuthorizationFailedException
cs - - ConnectorServer - containing idGenericAppConfigExceptionAuthorizationFailedException