|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.helpers.NamingContext
NamingContextPool
public class NamingContext
Obtains JNDI naming context.
Field Summary | |
---|---|
static java.lang.String |
JBOSS_INITIAL_CONTEXT_FACTORY
Deprecated. |
static java.lang.String |
JBOSS_PROVIDER_URL
Deprecated. |
static java.lang.String |
JBOSS_URL_PKG_PREFIX
Deprecated. |
static int |
MAX_RETRIES
Deprecated. |
Constructor Summary | |
---|---|
NamingContext()
Deprecated. |
Method Summary | |
---|---|
static void |
closeAllContexts()
Deprecated. Closes all Contexts, and removes them from the contextCache. |
static javax.naming.Context |
getFreshServerContext(java.util.Properties properties)
Deprecated. Refreshing the cached JNDI context, return the new context. |
static javax.naming.Context |
getServerContext(java.util.Properties properties)
Deprecated. Tries to connect to the server to obtain the server Context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MAX_RETRIES
public static final java.lang.String JBOSS_PROVIDER_URL
public static final java.lang.String JBOSS_INITIAL_CONTEXT_FACTORY
public static final java.lang.String JBOSS_URL_PKG_PREFIX
Constructor Detail |
---|
public NamingContext()
Method Detail |
---|
public static javax.naming.Context getServerContext(java.util.Properties properties)
properties
- - the JNDI environment.
public static javax.naming.Context getFreshServerContext(java.util.Properties properties)
properties
-
public static void closeAllContexts()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |