- java.lang.Object
-
- javax.naming.spi.NamingManager
-
- javax.naming.spi.DirectoryManager
-
public class DirectoryManager extends NamingManager
This class contains methods for supportingDirContext
implementations.This class is an extension of
NamingManager
. It contains methods for use by service providers for accessing object factories and state factories, and for getting continuation contexts for supporting federation.DirectoryManager
is safe for concurrent access by multiple threads.Except as otherwise noted, a
Name
,Attributes
, or environment parameter passed to any method is owned by the caller. The implementation will not modify the object or keep a reference to it, although it may keep a reference to a clone or copy.- Since:
- 1.3
- See Also:
DirObjectFactory
,DirStateFactory
-
-
Field Summary
-
Fields declared in class javax.naming.spi.NamingManager
CPE
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DirContext
getContinuationDirContext(CannotProceedException cpe)
Creates a context in which to continue aDirContext
operation.static Object
getObjectInstance(Object refInfo, Name name, Context nameCtx, Hashtable<?,?> environment, Attributes attrs)
Creates an instance of an object for the specified object, attributes, and environment.static DirStateFactory.Result
getStateToBind(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment, Attributes attrs)
Retrieves the state of an object for binding when given the original object and its attributes.-
Methods declared in class javax.naming.spi.NamingManager
getContinuationContext, getInitialContext, getObjectInstance, getStateToBind, getURLContext, hasInitialContextFactoryBuilder, setInitialContextFactoryBuilder, setObjectFactoryBuilder
-
-
-
-
Method Detail
-
getContinuationDirContext
public static DirContext getContinuationDirContext(
-
-