|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WsnOptimizedJndiContext
This interface is used to access JNDI Context optimizations implemented in WebSphere Application Server. Current optimizations include batching JNDI operations to the name server. Instances of javax.naming.Context returned from JNDI lookup operations will implement this interface if the WebSphere Application Server initial context factory, com.ibm.websphere.naming.WsnInitialContextFactory, is used to get the initial context, and if the lookup name is not a URL, such as "java:comp/env".
Method Summary | |
---|---|
WsnBatchModeContext |
getBatchModeContext()
Returns the WsnBatchModeContext implementation of the current context. |
boolean |
isLocal()
Tests whether name server calls are local or remote. |
boolean |
supportsBatchMode()
Used to indicate if this context provides support for batch mode. |
Method Detail |
---|
boolean supportsBatchMode()
WsnBatchModeContext getBatchModeContext() throws javax.naming.NamingException
javax.naming.NamingException
- If the target name server for this context doesn't support batch mode,
or if the context object itself cannot be cloned as a WsnBatchModeContext.boolean isLocal()
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |