Uses of Interface
javax.naming.Context
Package
Description
Provides the classes and interfaces for accessing naming services.
Extends the
javax.naming
package to provide functionality
for accessing directory services.Provides support for event notification when accessing naming and
directory services.
Provides support for LDAPv3 extended operations and controls.
Provides the means for dynamically plugging in support for accessing
naming and directory services through the
javax.naming
and related packages.The standard classes and interfaces that a third party vendor has to
use in its implementation of a synchronization provider.
-
Uses of Context in javax.naming
Modifier and TypeClassDescriptionclass
This class is the starting context for performing naming operations.Modifier and TypeFieldDescriptionprotected Context
CannotProceedException.altNameCtx
Contains the context relative to whichaltName
is specified.protected Context
InitialContext.defaultInitCtx
Field holding the result of calling NamingManager.getInitialContext().Modifier and TypeMethodDescriptionContext.createSubcontext
(String name) Creates and binds a new context.Context.createSubcontext
(Name name) Creates and binds a new context.InitialContext.createSubcontext
(String name) InitialContext.createSubcontext
(Name name) CannotProceedException.getAltNameCtx()
Retrieves thealtNameCtx
field of this exception.protected Context
InitialContext.getDefaultInitCtx()
Retrieves the initial context by callingNamingManager.getInitialContext()
and cache it in defaultInitCtx.abstract Context
ReferralException.getReferralContext()
Retrieves the context at which to continue the method.abstract Context
ReferralException.getReferralContext
(Hashtable<?, ?> env) Retrieves the context at which to continue the method using environment properties.protected Context
InitialContext.getURLOrDefaultInitCtx
(String name) Retrieves a context for resolving the string namename
.protected Context
InitialContext.getURLOrDefaultInitCtx
(Name name) Retrieves a context for resolvingname
.Modifier and TypeMethodDescriptionvoid
CannotProceedException.setAltNameCtx
(Context altNameCtx) Sets thealtNameCtx
field of this exception. -
Uses of Context in javax.naming.directory
Modifier and TypeInterfaceDescriptioninterface
The directory service interface, containing methods for examining and updating attributes associated with objects, and for searching the directory.Modifier and TypeClassDescriptionclass
This class is the starting context for performing directory operations. -
Uses of Context in javax.naming.event
Modifier and TypeInterfaceDescriptioninterface
Contains methods for registering/deregistering listeners to be notified of events fired when objects named in a context changes.interface
Contains methods for registering listeners to be notified of events fired when objects named in a directory context changes. -
Uses of Context in javax.naming.ldap
Modifier and TypeInterfaceDescriptioninterface
This interface represents a context in which you can perform operations with LDAPv3-style controls and perform LDAPv3-style extended operations.Modifier and TypeClassDescriptionclass
This class is the starting context for performing LDAPv3-style extended operations and controls.Modifier and TypeMethodDescriptionabstract Context
LdapReferralException.getReferralContext()
Retrieves the context at which to continue the method using the context's environment and no controls.abstract Context
LdapReferralException.getReferralContext
(Hashtable<?, ?> env) Retrieves the context at which to continue the method using environment properties and no controls.abstract Context
LdapReferralException.getReferralContext
(Hashtable<?, ?> env, Control[] reqCtls) Retrieves the context at which to continue the method using request controls and environment properties.Modifier and TypeMethodDescriptionstatic Control
ControlFactory.getControlInstance
(Control ctl, Context ctx, Hashtable<?, ?> env) Creates a control using known control factories. -
Uses of Context in javax.naming.spi
Modifier and TypeMethodDescriptionstatic Context
NamingManager.getContinuationContext
(CannotProceedException cpe) Creates a context in which to continue a context operation.InitialContextFactory.getInitialContext
(Hashtable<?, ?> environment) Creates an Initial Context for beginning name resolution.static Context
NamingManager.getInitialContext
(Hashtable<?, ?> env) Creates an initial context using the specified environment properties.static Context
NamingManager.getURLContext
(String scheme, Hashtable<?, ?> environment) Creates a context for the given URL scheme id.Modifier and TypeMethodDescriptionstatic Object
DirectoryManager.getObjectInstance
(Object refInfo, Name name, Context nameCtx, Hashtable<?, ?> environment, Attributes attrs) Creates an instance of an object for the specified object, attributes, and environment.DirObjectFactory.getObjectInstance
(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment, Attributes attrs) Creates an object using the location or reference information, and attributes specified.static Object
NamingManager.getObjectInstance
(Object refInfo, Name name, Context nameCtx, Hashtable<?, ?> environment) Creates an instance of an object for the specified object and environment.ObjectFactory.getObjectInstance
(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment) Creates an object using the location or reference information specified.static DirStateFactory.Result
DirectoryManager.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.DirStateFactory.getStateToBind
(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment, Attributes inAttrs) Retrieves the state of an object for binding given the object and attributes to be transformed.static Object
NamingManager.getStateToBind
(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment) Retrieves the state of an object for binding.StateFactory.getStateToBind
(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment) Retrieves the state of an object for binding.Modifier and TypeMethodDescriptionResolver.resolveToClass
(String name, Class<? extends Context> contextType) Partially resolves a name.Resolver.resolveToClass
(Name name, Class<? extends Context> contextType) Partially resolves a name. -
Uses of Context in javax.sql.rowset.spi
Modifier and TypeMethodDescriptionstatic void
SyncFactory.setJNDIContext
(Context ctx) Sets the initial JNDI context from which SyncProvider implementations can be retrieved from a JNDI namespace