org.eclipse.ecf.core.comm
Class ConnectionFactory

java.lang.Object
  extended by org.eclipse.ecf.core.comm.ConnectionFactory

public class ConnectionFactory
extends java.lang.Object


Field Summary
protected static ConnectionFactory instance
           
 
Constructor Summary
protected ConnectionFactory()
           
 
Method Summary
 ConnectionTypeDescription addDescription(ConnectionTypeDescription scd)
           
protected  ConnectionTypeDescription addDescription0(ConnectionTypeDescription n)
           
 boolean containsDescription(ConnectionTypeDescription scd)
           
protected  boolean containsDescription0(ConnectionTypeDescription scd)
           
 ISynchAsynchConnection createSynchAsynchConnection(ISynchAsynchEventHandler handler, ConnectionTypeDescription desc, java.lang.Object[] args)
           
 ISynchAsynchConnection createSynchAsynchConnection(ISynchAsynchEventHandler handler, ConnectionTypeDescription desc, java.lang.String[] argTypes, java.lang.Object[] args)
           
 ISynchAsynchConnection createSynchAsynchConnection(ISynchAsynchEventHandler handler, java.lang.String descriptionName)
           
 ISynchAsynchConnection createSynchAsynchConnection(ISynchAsynchEventHandler handler, java.lang.String descriptionName, java.lang.Object[] args)
           
 ISynchAsynchConnection createSynchAsynchConnection(ISynchAsynchEventHandler handler, java.lang.String descriptionName, java.lang.String[] argTypes, java.lang.Object[] args)
           
static ConnectionFactory getDefault()
           
 ConnectionTypeDescription getDescription(ConnectionTypeDescription scd)
           
protected  ConnectionTypeDescription getDescription0(ConnectionTypeDescription scd)
           
protected  ConnectionTypeDescription getDescription0(java.lang.String name)
           
 ConnectionTypeDescription getDescriptionByName(java.lang.String name)
           
 java.util.List getDescriptions()
           
protected  java.util.List getDescriptions0()
           
 ConnectionTypeDescription removeDescription(ConnectionTypeDescription scd)
           
protected  ConnectionTypeDescription removeDescription0(ConnectionTypeDescription n)
           
protected  void throwConnectionCreateException(java.lang.String message, java.lang.Throwable cause, java.lang.String method)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

protected static ConnectionFactory instance
Constructor Detail

ConnectionFactory

protected ConnectionFactory()
Method Detail

getDefault

public static ConnectionFactory getDefault()

addDescription

public ConnectionTypeDescription addDescription(ConnectionTypeDescription scd)

addDescription0

protected ConnectionTypeDescription addDescription0(ConnectionTypeDescription n)

containsDescription

public boolean containsDescription(ConnectionTypeDescription scd)

containsDescription0

protected boolean containsDescription0(ConnectionTypeDescription scd)

getDescription

public ConnectionTypeDescription getDescription(ConnectionTypeDescription scd)

getDescription0

protected ConnectionTypeDescription getDescription0(ConnectionTypeDescription scd)

getDescription0

protected ConnectionTypeDescription getDescription0(java.lang.String name)

getDescriptionByName

public ConnectionTypeDescription getDescriptionByName(java.lang.String name)

getDescriptions

public java.util.List getDescriptions()

getDescriptions0

protected java.util.List getDescriptions0()

createSynchAsynchConnection

public ISynchAsynchConnection createSynchAsynchConnection(ISynchAsynchEventHandler handler,
                                                          ConnectionTypeDescription desc,
                                                          java.lang.Object[] args)
                                                   throws ConnectionCreateException
Throws:
ConnectionCreateException

throwConnectionCreateException

protected void throwConnectionCreateException(java.lang.String message,
                                              java.lang.Throwable cause,
                                              java.lang.String method)
                                       throws ConnectionCreateException
Throws:
ConnectionCreateException

createSynchAsynchConnection

public ISynchAsynchConnection createSynchAsynchConnection(ISynchAsynchEventHandler handler,
                                                          ConnectionTypeDescription desc,
                                                          java.lang.String[] argTypes,
                                                          java.lang.Object[] args)
                                                   throws ConnectionCreateException
Throws:
ConnectionCreateException

createSynchAsynchConnection

public ISynchAsynchConnection createSynchAsynchConnection(ISynchAsynchEventHandler handler,
                                                          java.lang.String descriptionName)
                                                   throws ConnectionCreateException
Throws:
ConnectionCreateException

createSynchAsynchConnection

public ISynchAsynchConnection createSynchAsynchConnection(ISynchAsynchEventHandler handler,
                                                          java.lang.String descriptionName,
                                                          java.lang.Object[] args)
                                                   throws ConnectionCreateException
Throws:
ConnectionCreateException

createSynchAsynchConnection

public ISynchAsynchConnection createSynchAsynchConnection(ISynchAsynchEventHandler handler,
                                                          java.lang.String descriptionName,
                                                          java.lang.String[] argTypes,
                                                          java.lang.Object[] args)
                                                   throws ConnectionCreateException
Throws:
ConnectionCreateException

removeDescription

public ConnectionTypeDescription removeDescription(ConnectionTypeDescription scd)

removeDescription0

protected ConnectionTypeDescription removeDescription0(ConnectionTypeDescription n)