|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.soa.esb.helpers.NamingContextPool
public class NamingContextPool
Pool for Naming Contexts.
| Method Summary | |
|---|---|
static javax.naming.Context |
getNamingContext(java.util.Properties properties)
Get a Naming Context from the pool. |
static void |
releaseNamingContext(javax.naming.Context context)
Release the Naming Context back into the pool. |
static javax.naming.Context |
replaceNamingContext(javax.naming.Context context,
java.util.Properties env)
Close the Naming Context and remove from the pool. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static javax.naming.Context getNamingContext(java.util.Properties properties)
throws NamingContextException
properties - The properties of the JNDI environment.
NamingContextException
public static void releaseNamingContext(javax.naming.Context context)
throws NamingContextException
context - The Naming Context to release.
NamingContextException
public static javax.naming.Context replaceNamingContext(javax.naming.Context context,
java.util.Properties env)
throws NamingContextException
context - The Naming Context to close.env - The JNDI environment parameters for the Naming Context.
NamingContextException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||