All Packages WebLogic Enterprise Connectivity API This Package
java.lang.Object | +----com.beasys.BootstrapFactory
public BootstrapFactory()
public static Tobj_Bootstrap getClientContext(String poolName)
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 Java to connect to WebLogic Enterprise.
poolname
- Name of a configured connection pool
All Packages WebLogic Enterprise Connectivity API This Package