|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.osesb.objectpools.PooledJAXRPCClientAccessHelper
public class PooledJAXRPCClientAccessHelper
This class encapsulates access to a configured Keyed Pool of jax-rpc clients, which is managed by JAXRPCClientKeyedPoolFactory. jax-rpc clients are descendants of org.osesb.connectors.jaxrpc.JAXRPCDynamicClient.
| Field Summary | |
|---|---|
protected static org.apache.commons.logging.Log |
log
The logging implementation for this class. |
protected static java.lang.String |
thisClassName
The full name of this class. |
| Constructor Summary | |
|---|---|
PooledJAXRPCClientAccessHelper()
|
|
| Method Summary | |
|---|---|
static java.lang.Object |
getPooledJAXRPCClient(java.lang.String poolKey)
Gets a pooled jax-rpc client object from the configured pool of jax-rpc clients. |
static void |
main(java.lang.String[] args)
Main method for testing and sandboxing. |
static void |
returnPooledJAXRPCClient(java.lang.String poolKey,
java.lang.Object jaxrpcClient)
Returns a pooled jax-rpc client object to the configured pool of jax-rpc clients. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static java.lang.String thisClassName
protected static org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public PooledJAXRPCClientAccessHelper()
| Method Detail |
|---|
public static java.lang.Object getPooledJAXRPCClient(java.lang.String poolKey)
throws java.lang.Exception
poolKey - The key to the target jax-rpc client in the
heterogeneous pool of jax-rpc clients.
java.lang.Exception - if a jax-rpc client cannot be obtained from
the pool.
public static void returnPooledJAXRPCClient(java.lang.String poolKey,
java.lang.Object jaxrpcClient)
poolKey - The key to the target jax-rpc client in the
heterogeneous pool of jax-rpc clients.jaxrpcClient - The jax-rpc client Object to return.
to the pool.public static void main(java.lang.String[] args)
args -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||