Class ConnectorFacadeFactory
java.lang.Object
org.identityconnectors.framework.api.ConnectorFacadeFactory
- Direct Known Subclasses:
ConnectorFacadeFactoryImpl,OsgiConnectorInfoManagerImpl
Allows an application to obtain a
connector instance.
Manages a pool of connector instances.- Since:
- 1.0
- Author:
- Will Droste
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voiddispose()Shut down of all connector pools, resources, etc.static ConnectorFacadeFactoryGet the singleton instance of theConnectorFacadeFactory.static ConnectorFacadeFactoryGet the singleton instance of the statefulConnectorFacadeFactory.abstract ConnectorFacadenewInstance(APIConfiguration config) Get a new instance ofConnectorFacade.abstract ConnectorFacadenewInstance(ConnectorInfo connectorInfo, String config) Get a new instance ofConnectorFacade.
-
Constructor Details
-
ConnectorFacadeFactory
public ConnectorFacadeFactory()
-
-
Method Details
-
getInstance
Get the singleton instance of theConnectorFacadeFactory. -
getManagedInstance
Get the singleton instance of the statefulConnectorFacadeFactory.- Since:
- 1.4
-
dispose
public abstract void dispose()Shut down of all connector pools, resources, etc. The framework will release all the resources. No operations will be possible until the framework is re-initialized. -
newInstance
Get a new instance ofConnectorFacade.- Parameters:
config- all the configuration that the framework, connector, and pooling needs.- Returns:
ConnectorFacadeto call API operations against.
-
newInstance
Get a new instance ofConnectorFacade.- Parameters:
connectorInfo- TODO Add JavaDoc laterconfig- all the configuration that the framework, connector, and pooling needs. It's a Base64 serialised APIConfiguration instance.- Returns:
ConnectorFacadeto call API operations against.- Since:
- 1.4
-