    All Packages  WebLogic Enterprise Connectivity API  This Package

# Class com.beasys.BootstrapFactory

    java.lang.Object
       |
       +----com.beasys.BootstrapFactory

public class BootstrapFactory
extends Object

Gets the Bootstrap object associated with a specified connection pool.

##

BootstrapFactory()

##

getClientContext(String)
  Gets a Bootstrap object.

##

BootstrapFactory

     public BootstrapFactory()

##

getClientContext

     public static Tobj_Bootstrap getClientContext(String poolName)

  Gets a Bootstrap object. The `getClientContext` method returns a reference to the Bootstrap object that is associated with the poolName connection pool. For each configured connection pool, the WebLogic Server creates a Bootstrap object. A Bootstrap object establishes communication between a client application and a WebLogic Enterprise CORBA domain. If `getClientContext` cannot find the specified poolname, it returns null.

  For example:

  `Tobj_Bootstrap myBootstrap = BootstrapFactory.getClientContext("myPool");`

  This code example returns a Bootstrap object in `myBootstrap` for the connection pool named `myPool`.

  For more information, see Using WebLogic Enterprise Connectivity.

  Parameters:
    `poolname` - Name of a configured connection pool
  Returns:
    A Tobj_Bootstrap object
  Throws: Is
    there one?
  See Also:
    Tobj_Bootstrap

    All Packages  WebLogic Enterprise Connectivity API  This Package