org.dxc.api.connection
Class ConnectorFactory

Object
  extended by org.dxc.api.connection.ConnectorFactory

public class ConnectorFactory
extends Object

Factory class for creating DxcConnectors. DA developers should call the getDAConnector() static factory method to obtain a DxcConnector with which to begin sending and receiving data.


Constructor Summary
ConnectorFactory()
           
 
Method Summary
static DxcConnector getDAConnector(DxcCallback callback)
          Static factory method for creating a DxcConnector for use by a Diagnosis Algorithm
static DxcConnector getFromOracleConnector(DxcCallback callback)
          Static factory method for creating a DxcConnector directly to Oracle
static DxcConnector getStandaloneSDSConnector(DxcCallback callback)
           
static DxcConnector getToOracleConnector(DxcCallback callback)
          Static factory method for creating a DxcConnector directly to Oracle
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectorFactory

public ConnectorFactory()
Method Detail

getDAConnector

public static DxcConnector getDAConnector(DxcCallback callback)
Static factory method for creating a DxcConnector for use by a Diagnosis Algorithm

Parameters:
callback - The user's DxcCallback implementation, to be executed upon arrival of DxcData.

getToOracleConnector

public static DxcConnector getToOracleConnector(DxcCallback callback)
Static factory method for creating a DxcConnector directly to Oracle

Parameters:
callback - The user's DxcCallback implementation, to be executed upon arrival of DxcData.

getFromOracleConnector

public static DxcConnector getFromOracleConnector(DxcCallback callback)
Static factory method for creating a DxcConnector directly to Oracle

Parameters:
callback - The user's DxcCallback implementation, to be executed upon arrival of DxcData.

getStandaloneSDSConnector

public static DxcConnector getStandaloneSDSConnector(DxcCallback callback)