Class LocalConnectorFacadeImpl
- java.lang.Object
-
- org.identityconnectors.framework.impl.api.AbstractConnectorFacade
-
- org.identityconnectors.framework.impl.api.local.LocalConnectorFacadeImpl
-
- All Implemented Interfaces:
ConnectorFacade
,APIOperation
,AuthenticationApiOp
,CreateApiOp
,DeleteApiOp
,DiscoverConfigurationApiOp
,GetApiOp
,ResolveUsernameApiOp
,SchemaApiOp
,ScriptOnConnectorApiOp
,ScriptOnResourceApiOp
,SearchApiOp
,SyncApiOp
,TestApiOp
,UpdateApiOp
,UpdateDeltaApiOp
,ValidateApiOp
public class LocalConnectorFacadeImpl 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 LocalConnectorFacadeImpl(LocalConnectorInfoImpl connectorInfo, String configuration)
LocalConnectorFacadeImpl(LocalConnectorInfoImpl connectorInfo, APIConfigurationImpl apiConfiguration)
Builds up the maps of supported operations and calls.
-
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 ConnectorOperationalContext
getOperationalContext()
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
-
LocalConnectorFacadeImpl
public LocalConnectorFacadeImpl(LocalConnectorInfoImpl connectorInfo, APIConfigurationImpl apiConfiguration)
Builds up the maps of supported operations and calls.
-
LocalConnectorFacadeImpl
public LocalConnectorFacadeImpl(LocalConnectorInfoImpl connectorInfo, String configuration)
-
-
Method Detail
-
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.
-
getOperationalContext
protected ConnectorOperationalContext getOperationalContext()
-
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
-
-