API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.naming.spi. DirectoryManager View Source
Author(s)
Rosanna Lee
Scott Seligman
Since
1.3
Version
1.14 05/11/17
Serial
Hierarchy
 Object
      NamingManager
          DirectoryManager
Implements
Subclasses
Description
public class DirectoryManager
  This class contains methods for supporting DirContext implementations.
Constructors
pack-private DirectoryManager ()
Methods
Hide/Show inherited methods
pack-privatestatic Context getContext (Object obj, Name name, Context nameCtx, Hashtable environment) throws NamingException [Inherited From NamingManager]
  Retrieves a context identified by obj, using the specified environment.
publicstatic Context getContinuationContext (CannotProceedException cpe) throws NamingException [Inherited From NamingManager]
  Creates a context in which to continue a context operation.
publicstatic DirContext getContinuationDirContext (CannotProceedException cpe) throws NamingException
  Creates a context in which to continue a DirContext operation.
publicstatic Context getInitialContext (Hashtable<Object, Object> env) throws NamingException [Inherited From NamingManager]
  Creates an initial context using the specified environment properties.
pack-privatestaticsynchronized ObjectFactoryBuilder getObjectFactoryBuilder () [Inherited From NamingManager]
Used for accessing object factory builder.
pack-privatestatic ObjectFactory getObjectFactoryFromReference (Reference ref, String factoryName) throws IllegalAccessException InstantiationException MalformedURLException [Inherited From NamingManager]
  Retrieves the ObjectFactory for the object identified by a reference, using the reference's factory class name and factory codebase to load in the factory's class.
publicstatic Object getObjectInstance (Object refInfo, Name name, Context nameCtx, Hashtable<Object, Object> environment) throws Exception [Inherited From NamingManager]
  Creates an instance of an object for the specified object and environment.
publicstatic Object getObjectInstance (Object refInfo, Name name, Context nameCtx, Hashtable<Object, Object> environment, Attributes attrs) throws Exception
  Creates an instance of an object for the specified object, attributes, and environment.
pack-privatestatic Resolver getResolver (Object obj, Name name, Context nameCtx, Hashtable environment) throws NamingException [Inherited From NamingManager]
publicstatic Object getStateToBind (Object obj, Name name, Context nameCtx, Hashtable<Object, Object> environment) throws NamingException [Inherited From NamingManager]
  Retrieves the state of an object for binding.
publicstatic Result getStateToBind (Object obj, Name name, Context nameCtx, Hashtable<Object, Object> environment, Attributes attrs) throws NamingException
  Retrieves the state of an object for binding when given the original object and its attributes.
publicstatic Context getURLContext (String scheme, Hashtable<Object, Object> environment) throws NamingException [Inherited From NamingManager]
  Creates a context for the given URL scheme id.
publicstatic boolean hasInitialContextFactoryBuilder () [Inherited From NamingManager]
  Determines whether an initial context factory builder has been set.
pack-privatestatic Object processURLAddrs (Reference ref, Name name, Context nameCtx, Hashtable environment) throws NamingException [Inherited From NamingManager]
publicstaticsynchronized void setInitialContextFactoryBuilder (InitialContextFactoryBuilder builder) throws NamingException [Inherited From NamingManager]
  Sets the InitialContextFactory builder to be builder.
publicstaticsynchronized void setObjectFactoryBuilder (ObjectFactoryBuilder builder) throws NamingException [Inherited From NamingManager]
  The ObjectFactoryBuilder determines the policy used when trying to load object factories.
Fields
Hide/Show inherited fields
publicfinalstatic String CPE = "java.naming.spi.CannotProceedException" [Inherited From NamingManager]
  Constant that holds the name of the environment property into which getContinuationContext() stores the value of its CannotProceedException parameter.
pack-privatefinalstatic com.sun.naming.internal.VersionHelper helper [Inherited From NamingManager]
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar