RingJavafor Ring

javax.naming.directory

18 classes of the module java.naming.

Load them with:

using {
	"javax.naming.directory"
}

All packages

AttributeInUseException#

class · extends NamingException · javax.naming.directory.AttributeInUseException

Constructors

new AttributeInUseException()
new AttributeInUseException(String explanation)

Ring: new AttributeInUseException(args) uses the constructor with the fewest parameters (at least one); new AttributeInUseException makes the object with the constructor without parameters; the others: (new AttributeInUseException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of NamingException are inherited.

AttributeModificationException#

class · extends NamingException · javax.naming.directory.AttributeModificationException

Constructors

new AttributeModificationException()
new AttributeModificationException(String explanation)

Ring: new AttributeModificationException(args) uses the constructor with the fewest parameters (at least one); new AttributeModificationException makes the object with the constructor without parameters; the others: (new AttributeModificationException).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getUnexecutedModificationsgetUnexecutedModifications()ModificationItem[] getUnexecutedModifications()
setUnexecutedModificationssetUnexecutedModifications(e)void setUnexecutedModifications(ModificationItem[] e)

The methods and fields of NamingException are inherited.

BasicAttribute#

class · extends Object · javax.naming.directory.BasicAttribute

Implements: DirectoryAttribute

Constructors

new BasicAttribute(String id)
new BasicAttribute(String id, Object value)
new BasicAttribute(String id, boolean ordered)
new BasicAttribute(String id, Object value, boolean ordered)

Ring: new BasicAttribute(args) uses the constructor with the fewest parameters (at least one); new BasicAttribute makes the object with the constructor without parameters; the others: (new BasicAttribute).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
serialVersionUIDlongconstant · statico.serialVersionUID

Methods

MethodRing callJava overloads
@@get@@get(ix)Object get(int ix)
@get@get()Object get()
addadd(attrVal)
add([ix,attrVal])
add([ :ix = v, :attrVal = v ])
boolean add(Object attrVal)
void add(int ix, Object attrVal)
clearclear()void clear()
cloneclone()Object clone()
containscontains(attrVal)boolean contains(Object attrVal)
getAllgetAll()NamingEnumeration getAll()
getAttributeDefinitiongetAttributeDefinition()DirContext getAttributeDefinition()
getAttributeSyntaxDefinitiongetAttributeSyntaxDefinition()DirContext getAttributeSyntaxDefinition()
getIDgetID()String getID()
isOrderedisOrdered()boolean isOrdered()
removeremove(attrval)boolean remove(Object attrval)
Object remove(int ix)
setset(ix,attrVal)Object set(int ix, Object attrVal)
sizesize()int size()

The methods and fields of Object are inherited.

BasicAttributes#

class · extends Object · javax.naming.directory.BasicAttributes

Implements: DirectoryAttributes

Constructors

new BasicAttributes()
new BasicAttributes(boolean ignoreCase)
new BasicAttributes(String attrID, Object val)
new BasicAttributes(String attrID, Object val, boolean ignoreCase)

Ring: new BasicAttributes(args) uses the constructor with the fewest parameters (at least one); new BasicAttributes makes the object with the constructor without parameters; the others: (new BasicAttributes).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
@get@get(attrID)Attribute get(String attrID)
@put@put(attr)
@put([attrID,val])
@put([ :attrID = v, :val = v ])
Attribute put(Attribute attr)
Attribute put(String attrID, Object val)
cloneclone()Object clone()
getAllgetAll()NamingEnumeration getAll()
getIDsgetIDs()NamingEnumeration getIDs()
isCaseIgnoredisCaseIgnored()boolean isCaseIgnored()
removeremove(attrID)Attribute remove(String attrID)
sizesize()int size()

The methods and fields of Object are inherited.

DirContext#

interface · javax.naming.directory.DirContext

Extends: Context

Fields

NameTypeAccessIn Ring
ADD_ATTRIBUTEintconstant · statico.ADD_ATTRIBUTE
REPLACE_ATTRIBUTEintconstant · statico.REPLACE_ATTRIBUTE
REMOVE_ATTRIBUTEintconstant · statico.REMOVE_ATTRIBUTE
INITIAL_CONTEXT_FACTORYStringconstant · statico.INITIAL_CONTEXT_FACTORY
OBJECT_FACTORIESStringconstant · statico.OBJECT_FACTORIES
STATE_FACTORIESStringconstant · statico.STATE_FACTORIES
URL_PKG_PREFIXESStringconstant · statico.URL_PKG_PREFIXES
PROVIDER_URLStringconstant · statico.PROVIDER_URL
DNS_URLStringconstant · statico.DNS_URL
AUTHORITATIVEStringconstant · statico.AUTHORITATIVE
BATCHSIZEStringconstant · statico.BATCHSIZE
REFERRALStringconstant · statico.REFERRAL
SECURITY_PROTOCOLStringconstant · statico.SECURITY_PROTOCOL
SECURITY_AUTHENTICATIONStringconstant · statico.SECURITY_AUTHENTICATION
SECURITY_PRINCIPALStringconstant · statico.SECURITY_PRINCIPAL
SECURITY_CREDENTIALSStringconstant · statico.SECURITY_CREDENTIALS
LANGUAGEStringconstant · statico.LANGUAGE

Methods

MethodRing callJava overloads
addToEnvironmentaddToEnvironment(propName,propVal)Object addToEnvironment(String propName, Object propVal)
bindbind([name,obj])
bind([ :name = v, :obj = v ])
bind([name,obj,attrs])
bind([ :name = v, :obj = v, :attrs = v ])
void bind(String name, Object obj)
void bind(Name name, Object obj)
void bind(Name name, Object obj, Attributes attrs)
void bind(String name, Object obj, Attributes attrs)
closeclose()void close()
composeNamecomposeName(name,prefix)String composeName(String name, String prefix)
Name composeName(Name name, Name prefix)
createSubcontextcreateSubcontext(name)
createSubcontext([name,attrs])
createSubcontext([ :name = v, :attrs = v ])
Context createSubcontext(String name)
Context createSubcontext(Name name)
DirContext createSubcontext(String name, Attributes attrs)
DirContext createSubcontext(Name name, Attributes attrs)
destroySubcontextdestroySubcontext(name)void destroySubcontext(Name name)
void destroySubcontext(String name)
getAttributesgetAttributes(name)
getAttributes([name,attrIds])
getAttributes([ :name = v, :attrIds = v ])
Attributes getAttributes(Name name)
Attributes getAttributes(String name)
Attributes getAttributes(String name, String[] attrIds)
Attributes getAttributes(Name name, String[] attrIds)
getEnvironmentgetEnvironment()Hashtable getEnvironment()
getNameInNamespacegetNameInNamespace()String getNameInNamespace()
getNameParsergetNameParser(name)NameParser getNameParser(String name)
NameParser getNameParser(Name name)
getSchemagetSchema(name)DirContext getSchema(Name name)
DirContext getSchema(String name)
getSchemaClassDefinitiongetSchemaClassDefinition(name)DirContext getSchemaClassDefinition(Name name)
DirContext getSchemaClassDefinition(String name)
listlist(name)NamingEnumeration list(String name)
NamingEnumeration list(Name name)
listBindingslistBindings(name)NamingEnumeration listBindings(Name name)
NamingEnumeration listBindings(String name)
lookuplookup(name)Object lookup(Name name)
Object lookup(String name)
lookupLinklookupLink(name)Object lookupLink(Name name)
Object lookupLink(String name)
modifyAttributesmodifyAttributes([name,mods])
modifyAttributes([ :name = v, :mods = v ])
modifyAttributes([name,mod_op,attrs])
modifyAttributes([ :name = v, :mod_op = v, :attrs = v ])
void modifyAttributes(Name name, ModificationItem[] mods)
void modifyAttributes(String name, ModificationItem[] mods)
void modifyAttributes(String name, int mod_op, Attributes attrs)
void modifyAttributes(Name name, int mod_op, Attributes attrs)
rebindrebind([name,obj])
rebind([ :name = v, :obj = v ])
rebind([name,obj,attrs])
rebind([ :name = v, :obj = v, :attrs = v ])
void rebind(String name, Object obj)
void rebind(Name name, Object obj)
void rebind(Name name, Object obj, Attributes attrs)
void rebind(String name, Object obj, Attributes attrs)
removeFromEnvironmentremoveFromEnvironment(propName)Object removeFromEnvironment(String propName)
renamerename(oldName,newName)void rename(Name oldName, Name newName)
void rename(String oldName, String newName)
searchsearch([name,matchingAttributes])
search([ :name = v, :matchingAttributes = v ])
search([name,matchingAttributes,attributesToReturn])
search([ :name = v, :matchingAttributes = v, :attributesToReturn = v ])
search([name,filterExpr,filterArgs,cons])
search([ :name = v, :filterExpr = v, :filterArgs = v, :cons = v ])
NamingEnumeration search(String name, Attributes matchingAttributes)
NamingEnumeration search(Name name, Attributes matchingAttributes)
NamingEnumeration search(String name, Attributes matchingAttributes, String[] attributesToReturn)
NamingEnumeration search(Name name, Attributes matchingAttributes, String[] attributesToReturn)
NamingEnumeration search(String name, String filter, SearchControls cons)
NamingEnumeration search(Name name, String filter, SearchControls cons)
NamingEnumeration search(String name, String filterExpr, Object[] filterArgs, SearchControls cons)
NamingEnumeration search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)
unbindunbind(name)void unbind(String name)
void unbind(Name name)

DirectoryAttribute#

interface · javax.naming.directory.Attribute

Extends: Cloneable, Serializable

Fields

NameTypeAccessIn Ring
serialVersionUIDlongconstant · statico.serialVersionUID

Methods

MethodRing callJava overloads
@@get@@get(ix)Object get(int ix)
@get@get()Object get()
addadd(attrVal)
add([ix,attrVal])
add([ :ix = v, :attrVal = v ])
boolean add(Object attrVal)
void add(int ix, Object attrVal)
clearclear()void clear()
cloneclone()Object clone()
containscontains(attrVal)boolean contains(Object attrVal)
getAllgetAll()NamingEnumeration getAll()
getAttributeDefinitiongetAttributeDefinition()DirContext getAttributeDefinition()
getAttributeSyntaxDefinitiongetAttributeSyntaxDefinition()DirContext getAttributeSyntaxDefinition()
getIDgetID()String getID()
isOrderedisOrdered()boolean isOrdered()
removeremove(attrval)boolean remove(Object attrval)
Object remove(int ix)
setset(ix,attrVal)Object set(int ix, Object attrVal)
sizesize()int size()

DirectoryAttributes#

interface · javax.naming.directory.Attributes

Extends: Cloneable, Serializable

Methods

MethodRing callJava overloads
@get@get(attrID)Attribute get(String attrID)
@put@put(attr)
@put([attrID,val])
@put([ :attrID = v, :val = v ])
Attribute put(Attribute attr)
Attribute put(String attrID, Object val)
cloneclone()Object clone()
getAllgetAll()NamingEnumeration getAll()
getIDsgetIDs()NamingEnumeration getIDs()
isCaseIgnoredisCaseIgnored()boolean isCaseIgnored()
removeremove(attrID)Attribute remove(String attrID)
sizesize()int size()

DirectoryInvalidAttributeValueException#

class · extends NamingException · javax.naming.directory.InvalidAttributeValueException

Constructors

new DirectoryInvalidAttributeValueException()
new DirectoryInvalidAttributeValueException(String explanation)

Ring: new DirectoryInvalidAttributeValueException(args) uses the constructor with the fewest parameters (at least one); new DirectoryInvalidAttributeValueException makes the object with the constructor without parameters; the others: (new DirectoryInvalidAttributeValueException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of NamingException are inherited.

InitialDirContext#

class · extends InitialContext · javax.naming.directory.InitialDirContext

Implements: DirContext

Constructors

new InitialDirContext()
new InitialDirContext(Hashtable environment)

Ring: new InitialDirContext(args) uses the constructor with the fewest parameters (at least one); new InitialDirContext makes the object with the constructor without parameters; the others: (new InitialDirContext).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
ADD_ATTRIBUTEintconstant · statico.ADD_ATTRIBUTE
REPLACE_ATTRIBUTEintconstant · statico.REPLACE_ATTRIBUTE
REMOVE_ATTRIBUTEintconstant · statico.REMOVE_ATTRIBUTE

Methods

MethodRing callJava overloads
bindbind([name,obj])
bind([ :name = v, :obj = v ])
bind([name,obj,attrs])
bind([ :name = v, :obj = v, :attrs = v ])
void bind(Name name, Object obj)
void bind(String name, Object obj)
void bind(Name name, Object obj, Attributes attrs)
void bind(String name, Object obj, Attributes attrs)
createSubcontextcreateSubcontext(name)
createSubcontext([name,attrs])
createSubcontext([ :name = v, :attrs = v ])
Context createSubcontext(String name)
Context createSubcontext(Name name)
DirContext createSubcontext(Name name, Attributes attrs)
DirContext createSubcontext(String name, Attributes attrs)
getAttributesgetAttributes(name)
getAttributes([name,attrIds])
getAttributes([ :name = v, :attrIds = v ])
Attributes getAttributes(Name name)
Attributes getAttributes(String name)
Attributes getAttributes(Name name, String[] attrIds)
Attributes getAttributes(String name, String[] attrIds)
getSchemagetSchema(name)DirContext getSchema(Name name)
DirContext getSchema(String name)
getSchemaClassDefinitiongetSchemaClassDefinition(name)DirContext getSchemaClassDefinition(String name)
DirContext getSchemaClassDefinition(Name name)
modifyAttributesmodifyAttributes([name,mods])
modifyAttributes([ :name = v, :mods = v ])
modifyAttributes([name,mod_op,attrs])
modifyAttributes([ :name = v, :mod_op = v, :attrs = v ])
void modifyAttributes(Name name, ModificationItem[] mods)
void modifyAttributes(String name, ModificationItem[] mods)
void modifyAttributes(String name, int mod_op, Attributes attrs)
void modifyAttributes(Name name, int mod_op, Attributes attrs)
rebindrebind([name,obj])
rebind([ :name = v, :obj = v ])
rebind([name,obj,attrs])
rebind([ :name = v, :obj = v, :attrs = v ])
void rebind(Name name, Object obj)
void rebind(String name, Object obj)
void rebind(Name name, Object obj, Attributes attrs)
void rebind(String name, Object obj, Attributes attrs)
searchsearch([name,matchingAttributes])
search([ :name = v, :matchingAttributes = v ])
search([name,matchingAttributes,attributesToReturn])
search([ :name = v, :matchingAttributes = v, :attributesToReturn = v ])
search([name,filterExpr,filterArgs,cons])
search([ :name = v, :filterExpr = v, :filterArgs = v, :cons = v ])
NamingEnumeration search(Name name, Attributes matchingAttributes)
NamingEnumeration search(String name, Attributes matchingAttributes)
NamingEnumeration search(String name, Attributes matchingAttributes, String[] attributesToReturn)
NamingEnumeration search(Name name, String filter, SearchControls cons)
NamingEnumeration search(String name, String filter, SearchControls cons)
NamingEnumeration search(Name name, Attributes matchingAttributes, String[] attributesToReturn)
NamingEnumeration search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)
NamingEnumeration search(String name, String filterExpr, Object[] filterArgs, SearchControls cons)

The methods and fields of InitialContext are inherited.

InvalidAttributeIdentifierException#

class · extends NamingException · javax.naming.directory.InvalidAttributeIdentifierException

Constructors

new InvalidAttributeIdentifierException()
new InvalidAttributeIdentifierException(String explanation)

Ring: new InvalidAttributeIdentifierException(args) uses the constructor with the fewest parameters (at least one); new InvalidAttributeIdentifierException makes the object with the constructor without parameters; the others: (new InvalidAttributeIdentifierException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of NamingException are inherited.

InvalidAttributesException#

class · extends NamingException · javax.naming.directory.InvalidAttributesException

Constructors

new InvalidAttributesException()
new InvalidAttributesException(String explanation)

Ring: new InvalidAttributesException(args) uses the constructor with the fewest parameters (at least one); new InvalidAttributesException makes the object with the constructor without parameters; the others: (new InvalidAttributesException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of NamingException are inherited.

InvalidSearchControlsException#

class · extends NamingException · javax.naming.directory.InvalidSearchControlsException

Constructors

new InvalidSearchControlsException()
new InvalidSearchControlsException(String msg)

Ring: new InvalidSearchControlsException(args) uses the constructor with the fewest parameters (at least one); new InvalidSearchControlsException makes the object with the constructor without parameters; the others: (new InvalidSearchControlsException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of NamingException are inherited.

InvalidSearchFilterException#

class · extends NamingException · javax.naming.directory.InvalidSearchFilterException

Constructors

new InvalidSearchFilterException()
new InvalidSearchFilterException(String msg)

Ring: new InvalidSearchFilterException(args) uses the constructor with the fewest parameters (at least one); new InvalidSearchFilterException makes the object with the constructor without parameters; the others: (new InvalidSearchFilterException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of NamingException are inherited.

ModificationItem#

class · extends Object · javax.naming.directory.ModificationItem

Implements: Serializable

Constructors

new ModificationItem(int mod_op, Attribute attr)

Ring: new ModificationItem(args) uses the constructor with the fewest parameters (at least one); new ModificationItem makes the object with the constructor without parameters; the others: (new ModificationItem).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getAttributegetAttribute()Attribute getAttribute()
getModificationOpgetModificationOp()int getModificationOp()

The methods and fields of Object are inherited.

NoSuchAttributeException#

class · extends NamingException · javax.naming.directory.NoSuchAttributeException

Constructors

new NoSuchAttributeException()
new NoSuchAttributeException(String explanation)

Ring: new NoSuchAttributeException(args) uses the constructor with the fewest parameters (at least one); new NoSuchAttributeException makes the object with the constructor without parameters; the others: (new NoSuchAttributeException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of NamingException are inherited.

SchemaViolationException#

class · extends NamingException · javax.naming.directory.SchemaViolationException

Constructors

new SchemaViolationException()
new SchemaViolationException(String explanation)

Ring: new SchemaViolationException(args) uses the constructor with the fewest parameters (at least one); new SchemaViolationException makes the object with the constructor without parameters; the others: (new SchemaViolationException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of NamingException are inherited.

SearchControls#

class · extends Object · javax.naming.directory.SearchControls

Implements: Serializable

Constructors

new SearchControls()
new SearchControls(int scope, long countlim, int timelim, String[] attrs, boolean retobj, boolean deref)

Ring: new SearchControls(args) uses the constructor with the fewest parameters (at least one); new SearchControls makes the object with the constructor without parameters; the others: (new SearchControls).@New([ :param = value ]) or .@New([v1,v2]).

Fields

NameTypeAccessIn Ring
OBJECT_SCOPEintconstant · statico.OBJECT_SCOPE
ONELEVEL_SCOPEintconstant · statico.ONELEVEL_SCOPE
SUBTREE_SCOPEintconstant · statico.SUBTREE_SCOPE

Methods

MethodRing callJava overloads
getCountLimitgetCountLimit()long getCountLimit()
getDerefLinkFlaggetDerefLinkFlag()boolean getDerefLinkFlag()
getReturningAttributesgetReturningAttributes()String[] getReturningAttributes()
getReturningObjFlaggetReturningObjFlag()boolean getReturningObjFlag()
getSearchScopegetSearchScope()int getSearchScope()
getTimeLimitgetTimeLimit()int getTimeLimit()
setCountLimitsetCountLimit(limit)void setCountLimit(long limit)
setDerefLinkFlagsetDerefLinkFlag(on)void setDerefLinkFlag(boolean on)
setReturningAttributessetReturningAttributes(attrs)void setReturningAttributes(String[] attrs)
setReturningObjFlagsetReturningObjFlag(on)void setReturningObjFlag(boolean on)
setSearchScopesetSearchScope(scope)void setSearchScope(int scope)
setTimeLimitsetTimeLimit(ms)void setTimeLimit(int ms)

The methods and fields of Object are inherited.

SearchResult#

class · extends Binding · javax.naming.directory.SearchResult

Constructors

new SearchResult(String name, Object obj, Attributes attrs)
new SearchResult(String name, String className, Object obj, Attributes attrs)
new SearchResult(String name, Object obj, Attributes attrs, boolean isRelative)
new SearchResult(String name, String className, Object obj, Attributes attrs, boolean isRelative)

Ring: new SearchResult(args) uses the constructor with the fewest parameters (at least one); new SearchResult makes the object with the constructor without parameters; the others: (new SearchResult).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getAttributesgetAttributes()Attributes getAttributes()
setAttributessetAttributes(attrs)void setAttributes(Attributes attrs)

The methods and fields of Binding are inherited.

RingJava - use Java classes and methods from Ring programs.