ConnectorFactory

ConnectorFactory

Represent the connector factory.

Constructor

new ConnectorFactory()

Source:

To create a new factory for each connector contaiend into connectors/*

Methods

(static) getInstance(pForce) → {ConnectorFactory}

Source:

To get the instance of ConnectorFactory

Parameters:
Name Type Default Description
pForce Boolean false

[Optional] Default FALSE. If TRUE, current instance is overridden

Returns:
Type
ConnectorFactory

newConnector(pType, pProject, pOptions)

Source:

To instanciate a new connector of a specified type

Parameters:
Name Type Default Description
pType String

Connector type. example: 'inmemory'

pProject DexcaliburProject

Project instance

pOptions Object null

[Optional] Default NULL.

toJsonObject() → {Array.<Object>}

Source:

To serialize all connectors available

Returns:

Simple object ready to be JSON-serialized

Type
Array.<Object>