public abstract class ConnectorFacadeFactory extends Object
connector instance
.
Manages a pool of connector instances.Constructor and Description |
---|
ConnectorFacadeFactory() |
Modifier and Type | Method and Description |
---|---|
abstract void |
dispose()
Shut down of all connector pools, resources, etc.
|
static ConnectorFacadeFactory |
getInstance()
Get the singleton instance of the
ConnectorFacadeFactory . |
static ConnectorFacadeFactory |
getManagedInstance()
Get the singleton instance of the stateful
ConnectorFacadeFactory . |
abstract ConnectorFacade |
newInstance(APIConfiguration config)
Get a new instance of
ConnectorFacade . |
abstract ConnectorFacade |
newInstance(ConnectorInfo connectorInfo,
String config)
Get a new instance of
ConnectorFacade . |
public static ConnectorFacadeFactory getInstance()
ConnectorFacadeFactory
.public static ConnectorFacadeFactory getManagedInstance()
ConnectorFacadeFactory
.public abstract void dispose()
public abstract ConnectorFacade newInstance(APIConfiguration config)
ConnectorFacade
.config
- all the configuration that the framework, connector, and
pooling needs.ConnectorFacade
to call API operations against.public abstract ConnectorFacade newInstance(ConnectorInfo connectorInfo, String config)
ConnectorFacade
.connectorInfo
- TODO Add JavaDoc laterconfig
- all the configuration that the framework, connector, and
pooling needs. It's a Base64 serialised APIConfiguration
instance.ConnectorFacade
to call API operations against.Copyright © 2022. All rights reserved.