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
,LiveSyncApiOp
,ResolveUsernameApiOp
,SchemaApiOp
,ScriptOnConnectorApiOp
,ScriptOnResourceApiOp
,SearchApiOp
,SyncApiOp
,TestApiOp
,UpdateApiOp
,UpdateDeltaApiOp
,ValidateApiOp
Implements all the methods of the facade.
-
Field Summary
Fields inherited from interface org.identityconnectors.framework.api.operations.APIOperation
NO_TIMEOUT
-
Constructor Summary
ConstructorDescriptionLocalConnectorFacadeImpl
(LocalConnectorInfoImpl connectorInfo, String configuration) LocalConnectorFacadeImpl
(LocalConnectorInfoImpl connectorInfo, APIConfigurationImpl apiConfiguration) Builds up the maps of supported operations and calls. -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Dispose of any resources associated with this facade (except for facade classes).protected ConnectorOperationalContext
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, livesync, newAPIOperationProxy, removeAttributeValues, resolveUsername, runScriptOnConnector, runScriptOnResource, schema, search, sync, test, testPartialConfiguration, update, updateDelta, validate
-
Constructor Details
-
LocalConnectorFacadeImpl
public LocalConnectorFacadeImpl(LocalConnectorInfoImpl connectorInfo, APIConfigurationImpl apiConfiguration) Builds up the maps of supported operations and calls. -
LocalConnectorFacadeImpl
-
-
Method Details
-
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
-
getOperationImplementation
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
-