com.ibm.bpc.clientcore

Interface ConnectionFactory


  1. 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 module, that is, an EJB. Each connection must be registerd under a name that is unique within 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 this factory to provide other connection objects, for example, to databases.


Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT
(C) Copyright IBM Corporation 2005.

Method Summary

Modifier and Type Method and Description
  1. java.lang.Object
getConnectionByName(java.lang.String connectionName)
Provides a connection object by its name.

Field Detail

  1. static final java.lang.String COPYRIGHT
(C) Copyright IBM Corporation 2005.
See Also:

Method Detail

getConnectionByName

  1. 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 that the caller can use, or null if the connection ID is unknown.