[Expand]
Inherited Methods |
From class
javax.naming.directory.InitialDirContext
void
|
bind(String name, Object obj, Attributes attrs)
Binds a name to an object, along with associated attributes.
|
void
|
bind(Name name, Object obj, Attributes attrs)
Binds a name to an object, along with associated attributes.
|
DirContext
|
createSubcontext(String name, Attributes attrs)
Creates and binds a new context, along with associated attributes.
|
DirContext
|
createSubcontext(Name name, Attributes attrs)
Creates and binds a new context, along with associated attributes.
|
Attributes
|
getAttributes(String name, String[] attrIds)
Retrieves selected attributes associated with a named object.
|
Attributes
|
getAttributes(Name name, String[] attrIds)
Retrieves selected attributes associated with a named object.
|
Attributes
|
getAttributes(String name)
Retrieves all of the attributes associated with a named object.
|
Attributes
|
getAttributes(Name name)
Retrieves all of the attributes associated with a named object.
|
DirContext
|
getSchema(String name)
Retrieves the schema associated with the named object.
|
DirContext
|
getSchema(Name name)
Retrieves the schema associated with the named object.
|
DirContext
|
getSchemaClassDefinition(Name name)
Retrieves a context containing the schema objects of the
named object's class definitions.
|
DirContext
|
getSchemaClassDefinition(String name)
Retrieves a context containing the schema objects of the
named object's class definitions.
|
void
|
modifyAttributes(Name name, ModificationItem[] mods)
Modifies the attributes associated with a named object using
an ordered list of modifications.
|
void
|
modifyAttributes(Name name, int mod_op, Attributes attrs)
Modifies the attributes associated with a named object.
|
void
|
modifyAttributes(String name, ModificationItem[] mods)
Modifies the attributes associated with a named object using
an ordered list of modifications.
|
void
|
modifyAttributes(String name, int mod_op, Attributes attrs)
Modifies the attributes associated with a named object.
|
void
|
rebind(Name name, Object obj, Attributes attrs)
Binds a name to an object, along with associated attributes,
overwriting any existing binding.
|
void
|
rebind(String name, Object obj, Attributes attrs)
Binds a name to an object, along with associated attributes,
overwriting any existing binding.
|
NamingEnumeration<SearchResult>
|
search(Name name, String filter, SearchControls cons)
Searches in the named context or object for entries that satisfy the
given search filter.
|
NamingEnumeration<SearchResult>
|
search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)
Searches in the named context or object for entries that satisfy the
given search filter.
|
NamingEnumeration<SearchResult>
|
search(String name, String filterExpr, Object[] filterArgs, SearchControls cons)
Searches in the named context or object for entries that satisfy the
given search filter.
|
NamingEnumeration<SearchResult>
|
search(String name, Attributes matchingAttributes, String[] attributesToReturn)
Searches in a single context for objects that contain a
specified set of attributes, and retrieves selected attributes.
|
NamingEnumeration<SearchResult>
|
search(Name name, Attributes matchingAttributes)
Searches in a single context for objects that contain a
specified set of attributes.
|
NamingEnumeration<SearchResult>
|
search(Name name, Attributes matchingAttributes, String[] attributesToReturn)
Searches in a single context for objects that contain a
specified set of attributes, and retrieves selected attributes.
|
NamingEnumeration<SearchResult>
|
search(String name, Attributes matchingAttributes)
Searches in a single context for objects that contain a
specified set of attributes.
|
NamingEnumeration<SearchResult>
|
search(String name, String filter, SearchControls cons)
Searches in the named context or object for entries that satisfy the
given search filter.
|
|
From class
javax.naming.InitialContext
Object
|
addToEnvironment(String propName, Object propVal)
Adds a new environment property to the environment of this
context.
|
void
|
bind(Name name, Object obj)
Binds a name to an object.
|
void
|
bind(String name, Object obj)
Binds a name to an object.
|
void
|
close()
Closes this context.
|
String
|
composeName(String name, String prefix)
Composes the name of this context with a name relative to
this context.
|
Name
|
composeName(Name name, Name prefix)
Composes the name of this context with a name relative to
this context.
|
Context
|
createSubcontext(Name name)
Creates and binds a new context.
|
Context
|
createSubcontext(String name)
Creates and binds a new context.
|
void
|
destroySubcontext(Name name)
Destroys the named context and removes it from the namespace.
|
void
|
destroySubcontext(String name)
Destroys the named context and removes it from the namespace.
|
static
<T>
T
|
doLookup(Name name)
A static method to retrieve the named object.
|
static
<T>
T
|
doLookup(String name)
A static method to retrieve the named object.
|
Context
|
getDefaultInitCtx()
Retrieves the initial context by calling
NamingManager.getInitialContext()
and cache it in defaultInitCtx.
|
Hashtable<?, ?>
|
getEnvironment()
Retrieves the environment in effect for this context.
|
String
|
getNameInNamespace()
Retrieves the full name of this context within its own namespace.
|
NameParser
|
getNameParser(Name name)
Retrieves the parser associated with the named context.
|
NameParser
|
getNameParser(String name)
Retrieves the parser associated with the named context.
|
Context
|
getURLOrDefaultInitCtx(String name)
Retrieves a context for resolving the string name name .
|
Context
|
getURLOrDefaultInitCtx(Name name)
Retrieves a context for resolving name .
|
void
|
init(Hashtable<?, ?> environment)
Initializes the initial context using the supplied environment.
|
NamingEnumeration<NameClassPair>
|
list(String name)
Enumerates the names bound in the named context, along with the
class names of objects bound to them.
|
NamingEnumeration<NameClassPair>
|
list(Name name)
Enumerates the names bound in the named context, along with the
class names of objects bound to them.
|
NamingEnumeration<Binding>
|
listBindings(Name name)
Enumerates the names bound in the named context, along with the
objects bound to them.
|
NamingEnumeration<Binding>
|
listBindings(String name)
Enumerates the names bound in the named context, along with the
objects bound to them.
|
Object
|
lookup(String name)
Retrieves the named object.
|
Object
|
lookup(Name name)
Retrieves the named object.
|
Object
|
lookupLink(String name)
Retrieves the named object, following links except
for the terminal atomic component of the name.
|
Object
|
lookupLink(Name name)
Retrieves the named object, following links except
for the terminal atomic component of the name.
|
void
|
rebind(String name, Object obj)
Binds a name to an object, overwriting any existing binding.
|
void
|
rebind(Name name, Object obj)
Binds a name to an object, overwriting any existing binding.
|
Object
|
removeFromEnvironment(String propName)
Removes an environment property from the environment of this
context.
|
void
|
rename(String oldName, String newName)
Binds a new name to the object bound to an old name, and unbinds
the old name.
|
void
|
rename(Name oldName, Name newName)
Binds a new name to the object bound to an old name, and unbinds
the old name.
|
void
|
unbind(Name name)
Unbinds the named object.
|
void
|
unbind(String name)
Unbinds the named object.
|
|
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
From interface
javax.naming.Context
abstract
Object
|
addToEnvironment(String propName, Object propVal)
Adds a new environment property to the environment of this
context.
|
abstract
void
|
bind(Name name, Object obj)
Binds a name to an object.
|
abstract
void
|
bind(String name, Object obj)
Binds a name to an object.
|
abstract
void
|
close()
Closes this context.
|
abstract
String
|
composeName(String name, String prefix)
Composes the name of this context with a name relative to
this context.
|
abstract
Name
|
composeName(Name name, Name prefix)
Composes the name of this context with a name relative to
this context.
|
abstract
Context
|
createSubcontext(Name name)
Creates and binds a new context.
|
abstract
Context
|
createSubcontext(String name)
Creates and binds a new context.
|
abstract
void
|
destroySubcontext(Name name)
Destroys the named context and removes it from the namespace.
|
abstract
void
|
destroySubcontext(String name)
Destroys the named context and removes it from the namespace.
|
abstract
Hashtable<?, ?>
|
getEnvironment()
Retrieves the environment in effect for this context.
|
abstract
String
|
getNameInNamespace()
Retrieves the full name of this context within its own namespace.
|
abstract
NameParser
|
getNameParser(Name name)
Retrieves the parser associated with the named context.
|
abstract
NameParser
|
getNameParser(String name)
Retrieves the parser associated with the named context.
|
abstract
NamingEnumeration<NameClassPair>
|
list(String name)
Enumerates the names bound in the named context, along with the
class names of objects bound to them.
|
abstract
NamingEnumeration<NameClassPair>
|
list(Name name)
Enumerates the names bound in the named context, along with the
class names of objects bound to them.
|
abstract
NamingEnumeration<Binding>
|
listBindings(Name name)
Enumerates the names bound in the named context, along with the
objects bound to them.
|
abstract
NamingEnumeration<Binding>
|
listBindings(String name)
Enumerates the names bound in the named context, along with the
objects bound to them.
|
abstract
Object
|
lookup(String name)
Retrieves the named object.
|
abstract
Object
|
lookup(Name name)
Retrieves the named object.
|
abstract
Object
|
lookupLink(String name)
Retrieves the named object, following links except
for the terminal atomic component of the name.
|
abstract
Object
|
lookupLink(Name name)
Retrieves the named object, following links except
for the terminal atomic component of the name.
|
abstract
void
|
rebind(String name, Object obj)
Binds a name to an object, overwriting any existing binding.
|
abstract
void
|
rebind(Name name, Object obj)
Binds a name to an object, overwriting any existing binding.
|
abstract
Object
|
removeFromEnvironment(String propName)
Removes an environment property from the environment of this
context.
|
abstract
void
|
rename(String oldName, String newName)
Binds a new name to the object bound to an old name, and unbinds
the old name.
|
abstract
void
|
rename(Name oldName, Name newName)
Binds a new name to the object bound to an old name, and unbinds
the old name.
|
abstract
void
|
unbind(Name name)
Unbinds the named object.
|
abstract
void
|
unbind(String name)
Unbinds the named object.
|
|
From interface
javax.naming.directory.DirContext
abstract
void
|
bind(String name, Object obj, Attributes attrs)
Binds a name to an object, along with associated attributes.
|
abstract
void
|
bind(Name name, Object obj, Attributes attrs)
Binds a name to an object, along with associated attributes.
|
abstract
DirContext
|
createSubcontext(String name, Attributes attrs)
Creates and binds a new context, along with associated attributes.
|
abstract
DirContext
|
createSubcontext(Name name, Attributes attrs)
Creates and binds a new context, along with associated attributes.
|
abstract
Attributes
|
getAttributes(String name, String[] attrIds)
Retrieves selected attributes associated with a named object.
|
abstract
Attributes
|
getAttributes(Name name, String[] attrIds)
Retrieves selected attributes associated with a named object.
|
abstract
Attributes
|
getAttributes(String name)
Retrieves all of the attributes associated with a named object.
|
abstract
Attributes
|
getAttributes(Name name)
Retrieves all of the attributes associated with a named object.
|
abstract
DirContext
|
getSchema(String name)
Retrieves the schema associated with the named object.
|
abstract
DirContext
|
getSchema(Name name)
Retrieves the schema associated with the named object.
|
abstract
DirContext
|
getSchemaClassDefinition(Name name)
Retrieves a context containing the schema objects of the
named object's class definitions.
|
abstract
DirContext
|
getSchemaClassDefinition(String name)
Retrieves a context containing the schema objects of the
named object's class definitions.
|
abstract
void
|
modifyAttributes(Name name, ModificationItem[] mods)
Modifies the attributes associated with a named object using
an ordered list of modifications.
|
abstract
void
|
modifyAttributes(Name name, int mod_op, Attributes attrs)
Modifies the attributes associated with a named object.
|
abstract
void
|
modifyAttributes(String name, ModificationItem[] mods)
Modifies the attributes associated with a named object using
an ordered list of modifications.
|
abstract
void
|
modifyAttributes(String name, int mod_op, Attributes attrs)
Modifies the attributes associated with a named object.
|
abstract
void
|
rebind(Name name, Object obj, Attributes attrs)
Binds a name to an object, along with associated attributes,
overwriting any existing binding.
|
abstract
void
|
rebind(String name, Object obj, Attributes attrs)
Binds a name to an object, along with associated attributes,
overwriting any existing binding.
|
abstract
NamingEnumeration<SearchResult>
|
search(Name name, String filter, SearchControls cons)
Searches in the named context or object for entries that satisfy the
given search filter.
|
abstract
NamingEnumeration<SearchResult>
|
search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)
Searches in the named context or object for entries that satisfy the
given search filter.
|
abstract
NamingEnumeration<SearchResult>
|
search(String name, String filterExpr, Object[] filterArgs, SearchControls cons)
Searches in the named context or object for entries that satisfy the
given search filter.
|
abstract
NamingEnumeration<SearchResult>
|
search(String name, Attributes matchingAttributes, String[] attributesToReturn)
Searches in a single context for objects that contain a
specified set of attributes, and retrieves selected attributes.
|
abstract
NamingEnumeration<SearchResult>
|
search(Name name, Attributes matchingAttributes)
Searches in a single context for objects that contain a
specified set of attributes.
|
abstract
NamingEnumeration<SearchResult>
|
search(Name name, Attributes matchingAttributes, String[] attributesToReturn)
Searches in a single context for objects that contain a
specified set of attributes, and retrieves selected attributes.
|
abstract
NamingEnumeration<SearchResult>
|
search(String name, Attributes matchingAttributes)
Searches in a single context for objects that contain a
specified set of attributes.
|
abstract
NamingEnumeration<SearchResult>
|
search(String name, String filter, SearchControls cons)
Searches in the named context or object for entries that satisfy the
given search filter.
|
|
From interface
javax.naming.ldap.LdapContext
|