Package | Description |
---|---|
javax.naming |
Provides the classes and interfaces for accessing naming services.
|
javax.naming.directory |
Extends the javax.naming package to provide functionality
for accessing directory services.
|
javax.naming.event |
Provides support for event notification when accessing naming and
directory services.
|
javax.naming.ldap |
Provides support for LDAPv3 extended operations and controls.
|
javax.naming.spi | |
javax.sql.rowset.spi |
The standard classes and interfaces that a third party vendor has to
use in its implementation of a synchronization provider.
|
Modifier and Type | Class and Description |
---|---|
class |
InitialContext
This class is the starting context for performing naming operations.
|
Modifier and Type | Field and Description |
---|---|
protected Context |
CannotProceedException.altNameCtx
Contains the context relative to which
altName is specified. |
protected Context |
InitialContext.defaultInitCtx
Field holding the result of calling NamingManager.getInitialContext().
|
Modifier and Type | Method and Description |
---|---|
Context |
InitialContext.createSubcontext(Name name) |
Context |
Context.createSubcontext(Name name)
Creates and binds a new context.
|
Context |
InitialContext.createSubcontext(String name) |
Context |
Context.createSubcontext(String name)
Creates and binds a new context.
|
Context |
CannotProceedException.getAltNameCtx()
Retrieves the
altNameCtx field of this exception. |
protected Context |
InitialContext.getDefaultInitCtx()
Retrieves the initial context by calling
NamingManager.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(Name name)
Retrieves a context for resolving
name . |
protected Context |
InitialContext.getURLOrDefaultInitCtx(String name)
Retrieves a context for resolving the string name
name . |
Modifier and Type | Method and Description |
---|---|
void |
CannotProceedException.setAltNameCtx(Context altNameCtx)
Sets the
altNameCtx field of this exception. |
Modifier and Type | Interface and Description |
---|---|
interface |
DirContext
The directory service interface, containing
methods for examining and updating attributes
associated with objects, and for searching the directory.
|
Modifier and Type | Class and Description |
---|---|
class |
InitialDirContext
This class is the starting context for performing
directory operations.
|
Modifier and Type | Interface and Description |
---|---|
interface |
EventContext
Contains methods for registering/deregistering listeners to be notified of
events fired when objects named in a context changes.
|
interface |
EventDirContext
Contains methods for registering listeners to be notified
of events fired when objects named in a directory context changes.
|
Modifier and Type | Interface and Description |
---|---|
interface |
LdapContext
This interface represents a context in which you can perform
operations with LDAPv3-style controls and perform LDAPv3-style
extended operations.
|
Modifier and Type | Class and Description |
---|---|
class |
InitialLdapContext
This class is the starting context for performing
LDAPv3-style extended operations and controls.
|
Modifier and Type | Method and Description |
---|---|
abstract 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 Type | Method and Description |
---|---|
static Control |
ControlFactory.getControlInstance(Control ctl,
Context ctx,
Hashtable<?,?> env)
Creates a control using known control factories.
|
Modifier and Type | Method and Description |
---|---|
static Context |
NamingManager.getContinuationContext(CannotProceedException cpe)
Creates a context in which to continue a context operation.
|
Context |
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 Type | Method and Description |
---|---|
static Object |
NamingManager.getObjectInstance(Object refInfo,
Name name,
Context nameCtx,
Hashtable<?,?> environment)
Creates an instance of an object for the specified object
and environment.
|
Object |
ObjectFactory.getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable<?,?> environment)
Creates an object using the location or reference information
specified.
|
static 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.
|
Object |
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.getStateToBind(Object obj,
Name name,
Context nameCtx,
Hashtable<?,?> environment)
Retrieves the state of an object for binding.
|
Object |
StateFactory.getStateToBind(Object obj,
Name name,
Context nameCtx,
Hashtable<?,?> environment)
Retrieves the state of an object for binding.
|
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.Result |
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.
|
Modifier and Type | Method and Description |
---|---|
ResolveResult |
Resolver.resolveToClass(Name name,
Class<? extends Context> contextType)
Partially resolves a name.
|
ResolveResult |
Resolver.resolveToClass(String name,
Class<? extends Context> contextType)
Partially resolves a name.
|
Modifier and Type | Method and Description |
---|---|
static void |
SyncFactory.setJNDIContext(Context ctx)
Sets the initial JNDI context from which SyncProvider implementations
can be retrieved from a JNDI namespace
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2018, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.