Java javax.naming.ldap LdapContext fields, constructors, methods, implement or subclass

Example usage for Java javax.naming.ldap LdapContext fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.naming.ldap LdapContext.

The text is from its open source code.

Implementation

javax.naming.ldap.LdapContext has the following implementations.
Click this link to see all its implementation.

Method

ObjectaddToEnvironment(String propName, Object propVal)
Adds a new environment property to the environment of this context.
voidbind(Name name, Object obj)
Binds a name to an object.
voidclose()
Closes this context.
DirContextcreateSubcontext(Name name, Attributes attrs)
Creates and binds a new context, along with associated attributes.
voiddestroySubcontext(Name name)
Destroys the named context and removes it from the namespace.
booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
ExtendedResponseextendedOperation(ExtendedRequest request)
Performs an extended operation.
AttributesgetAttributes(Name name, String[] attrIds)
Retrieves selected attributes associated with a named object.
AttributesgetAttributes(Name name)
Retrieves all of the attributes associated with a named object.
HashtablegetEnvironment()
Retrieves the environment in effect for this context.
StringgetNameInNamespace()
Retrieves the full name of this context within its own namespace.
Control[]getRequestControls()
Retrieves the request controls in effect for this context.
Control[]getResponseControls()
Retrieves the response controls produced as a result of the last method invoked on this context.
DirContextgetSchema(Name name)
Retrieves the schema associated with the named object.
inthashCode()
Returns a hash code value for the object.
NamingEnumerationlist(Name name)
Enumerates the names bound in the named context, along with the class names of objects bound to them.
NamingEnumerationlistBindings(Name name)
Enumerates the names bound in the named context, along with the objects bound to them.
Objectlookup(Name name)
Retrieves the named object.
voidmodifyAttributes(Name name, ModificationItem[] mods)
Modifies the attributes associated with a named object using an ordered list of modifications.
voidmodifyAttributes(Name name, int mod_op, Attributes attrs)
Modifies the attributes associated with a named object.
voidreconnect(Control[] connCtls)
Reconnects to the LDAP server using the supplied controls and this context's environment.
ObjectremoveFromEnvironment(String propName)
Removes an environment property from the environment of this context.
voidrename(Name oldName, Name newName)
Binds a new name to the object bound to an old name, and unbinds the old name.
NamingEnumerationsearch(Name name, Attributes matchingAttributes, String[] attributesToReturn)
Searches in a single context for objects that contain a specified set of attributes, and retrieves selected attributes.
NamingEnumerationsearch(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)
Searches in the named context or object for entries that satisfy the given search filter.
NamingEnumerationsearch(Name name, Attributes matchingAttributes)
Searches in a single context for objects that contain a specified set of attributes.
voidsetRequestControls(Control[] requestControls)
Sets the request controls for methods subsequently invoked on this context.
StringtoString()
Returns a string representation of the object.
voidunbind(Name name)
Unbinds the named object.