API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.naming.spi. NamingManager View Source
Author(s)
Rosanna Lee
Scott Seligman
Since
1.3
Version
1.22 05/11/17
Serial
Hierarchy
 Object
      NamingManager
Implements
Subclasses
Description
public class NamingManager
  This class contains methods for creating context objects and objects referred to by location information in the naming or directory service.
See also:   
Constructors
pack-private NamingManager ()
Methods
Hide/Show inherited methods
pack-privatestatic Context getContext (Object obj, Name name, Context nameCtx, Hashtable environment) throws NamingException
  Retrieves a context identified by obj, using the specified environment.
publicstatic Context getContinuationContext (CannotProceedException cpe) throws NamingException
  Creates a context in which to continue a context operation.
publicstatic Context getInitialContext (Hashtable<Object, Object> env) throws NamingException
  Creates an initial context using the specified environment properties.
pack-privatestaticsynchronized ObjectFactoryBuilder getObjectFactoryBuilder ()
Used for accessing object factory builder.
pack-privatestatic ObjectFactory getObjectFactoryFromReference (Reference ref, String factoryName) throws IllegalAccessException InstantiationException MalformedURLException
  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
  Creates an instance of an object for the specified object and environment.
pack-privatestatic Resolver getResolver (Object obj, Name name, Context nameCtx, Hashtable environment) throws NamingException
publicstatic Object getStateToBind (Object obj, Name name, Context nameCtx, Hashtable<Object, Object> environment) throws NamingException
  Retrieves the state of an object for binding.
publicstatic Context getURLContext (String scheme, Hashtable<Object, Object> environment) throws NamingException
  Creates a context for the given URL scheme id.
publicstatic boolean hasInitialContextFactoryBuilder ()
  Determines whether an initial context factory builder has been set.
pack-privatestatic Object processURLAddrs (Reference ref, Name name, Context nameCtx, Hashtable environment) throws NamingException
publicstaticsynchronized void setInitialContextFactoryBuilder (InitialContextFactoryBuilder builder) throws NamingException
  Sets the InitialContextFactory builder to be builder.
publicstaticsynchronized void setObjectFactoryBuilder (ObjectFactoryBuilder builder) throws NamingException
  The ObjectFactoryBuilder determines the policy used when trying to load object factories.
Fields
Hide/Show inherited fields
publicfinalstatic String CPE = "java.naming.spi.CannotProceedException"
  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
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar