Class RemoteConnectorFacadeImpl
- java.lang.Object
-
- org.identityconnectors.framework.impl.api.AbstractConnectorFacade
-
- org.identityconnectors.framework.impl.api.remote.RemoteConnectorFacadeImpl
-
- All Implemented Interfaces:
ConnectorFacade
,APIOperation
,AuthenticationApiOp
,CreateApiOp
,DeleteApiOp
,DiscoverConfigurationApiOp
,GetApiOp
,ResolveUsernameApiOp
,SchemaApiOp
,ScriptOnConnectorApiOp
,ScriptOnResourceApiOp
,SearchApiOp
,SyncApiOp
,TestApiOp
,UpdateApiOp
,UpdateDeltaApiOp
,ValidateApiOp
public class RemoteConnectorFacadeImpl extends AbstractConnectorFacade
Implements all the methods of the facade
-
-
Field Summary
-
Fields inherited from interface org.identityconnectors.framework.api.operations.APIOperation
NO_TIMEOUT
-
-
Constructor Summary
Constructors Constructor Description RemoteConnectorFacadeImpl(APIConfigurationImpl configuration)
Builds up the maps of supported operations and calls.RemoteConnectorFacadeImpl(RemoteConnectorInfoImpl connectorInfo, String configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Dispose of any resources associated with this facade (except for facade classes).protected APIOperation
getOperationImplementation(Class<? extends APIOperation> api)
Gets the implementation of the given operation.-
Methods inherited from class org.identityconnectors.framework.impl.api.AbstractConnectorFacade
addAttributeValues, authenticate, create, createLoggingProxy, createTimeoutProxy, delete, discoverConfiguration, getAPIConfiguration, getConnectorFacadeKey, getInstanceName, getLatestSyncToken, getObject, getOperation, getSupportedOperations, newAPIOperationProxy, removeAttributeValues, resolveUsername, runScriptOnConnector, runScriptOnResource, schema, search, sync, test, testPartialConfiguration, update, updateDelta, validate
-
-
-
-
Constructor Detail
-
RemoteConnectorFacadeImpl
public RemoteConnectorFacadeImpl(APIConfigurationImpl configuration)
Builds up the maps of supported operations and calls.
-
RemoteConnectorFacadeImpl
public RemoteConnectorFacadeImpl(RemoteConnectorInfoImpl connectorInfo, String configuration)
-
-
Method Detail
-
getOperationImplementation
protected APIOperation getOperationImplementation(Class<? extends APIOperation> api)
Description copied from class:AbstractConnectorFacade
Gets the implementation of the given operation.- Specified by:
getOperationImplementation
in classAbstractConnectorFacade
- Parameters:
api
- The operation to implement.- Returns:
- The implementation
-
dispose
public void dispose()
Description copied from interface:ConnectorFacade
Dispose of any resources associated with this facade (except for facade classes). This will dispose of any connector instances in the connector pool. The purpose of this method is to reduce resource waste for connectors that are no longer used. But it can also be used to implement "logout and login" functionality for connectors, e.g. in cases when server-side configuration has changed and the operator needs to force closing and re-opening of all connector connections.
-
-