Class ConnectorFacadeFactory
- java.lang.Object
-
- org.identityconnectors.framework.api.ConnectorFacadeFactory
-
public abstract class ConnectorFacadeFactory extends java.lang.Object
Allows an application to obtain aconnector instance
. Manages a pool of connector instances.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description ConnectorFacadeFactory()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
dispose()
Dispose of all connector pools, resources, etc.static ConnectorFacadeFactory
getInstance()
Get the singleton instance of theConnectorFacadeFactory
.static ConnectorFacadeFactory
getManagedInstance()
Get the singleton instance of the statefulConnectorFacadeFactory
.abstract ConnectorFacade
newInstance(APIConfiguration config)
Get a new instance ofConnectorFacade
.abstract ConnectorFacade
newInstance(ConnectorInfo connectorInfo, java.lang.String config)
Get a new instance ofConnectorFacade
.
-
-
-
Method Detail
-
getInstance
public static ConnectorFacadeFactory getInstance()
Get the singleton instance of theConnectorFacadeFactory
.
-
getManagedInstance
public static ConnectorFacadeFactory getManagedInstance()
Get the singleton instance of the statefulConnectorFacadeFactory
.- Since:
- 1.4
-
dispose
public abstract void dispose()
Dispose of all connector pools, resources, etc.
-
newInstance
public abstract ConnectorFacade newInstance(APIConfiguration config)
Get a new instance ofConnectorFacade
.- Parameters:
config
- all the configuration that the framework, connector, and pooling needs.- Returns:
ConnectorFacade
to call API operations against.
-
newInstance
public abstract ConnectorFacade newInstance(ConnectorInfo connectorInfo, java.lang.String config)
Get a new instance ofConnectorFacade
.- Parameters:
connectorInfo
- local or remote connector info used woth theconfig
.config
- all the configuration that the framework, connector, and pooling needs. It's a Base64 serialised APIConfiguration instance.- Returns:
ConnectorFacade
to call API operations against.- Since:
- 1.4
-
-