com.ibm.bpc.clientcore
Interface ConnectionFactory


public interface ConnectionFactory

Creates or retrieves a collection of connection objects. Connection objects denote configuration or reference information which must be available before accessing a backend, e.g. an EJB. Each connection must be registerd under a name which is unique in the application. In the Business Process Choreographer Explorer the connection objects can either be a BFMConnection or a HTMConnectionobject. The implementor of this interface can extend the factory to provide other connection objects, e.g. to databases.


Field Summary
static java.lang.String COPYRIGHT
          (C) Copyright IBM Corporation 2005.
 
Method Summary
 java.lang.Object getConnectionByName(java.lang.String connectionName)
          Provides a connection object by its name.
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
(C) Copyright IBM Corporation 2005.

See Also:
Constant Field Values
Method Detail

getConnectionByName

public java.lang.Object getConnectionByName(java.lang.String connectionName)
Provides a connection object by its name. It is the caller's responsibility to make use of the returned object.

Parameters:
connectionName - The name by which the connection is known to the application.
Returns:
A connection object which the caller can use. null if the connection id is unknown.