public class DummyDirContext extends DummyContext implements javax.naming.directory.DirContext
Constructor and Description |
---|
DummyDirContext() |
Modifier and Type | Method and Description |
---|---|
void |
bind(javax.naming.Name name,
java.lang.Object obj,
javax.naming.directory.Attributes attrs) |
void |
bind(java.lang.String name,
java.lang.Object obj,
javax.naming.directory.Attributes attrs) |
javax.naming.directory.DirContext |
createSubcontext(javax.naming.Name name,
javax.naming.directory.Attributes attrs) |
javax.naming.directory.DirContext |
createSubcontext(java.lang.String name,
javax.naming.directory.Attributes attrs) |
javax.naming.directory.Attributes |
getAttributes(javax.naming.Name name) |
javax.naming.directory.Attributes |
getAttributes(javax.naming.Name name,
java.lang.String[] attrIds) |
javax.naming.directory.Attributes |
getAttributes(java.lang.String name) |
javax.naming.directory.Attributes |
getAttributes(java.lang.String name,
java.lang.String[] attrIds) |
javax.naming.directory.DirContext |
getSchema(javax.naming.Name name) |
javax.naming.directory.DirContext |
getSchema(java.lang.String name) |
javax.naming.directory.DirContext |
getSchemaClassDefinition(javax.naming.Name name) |
javax.naming.directory.DirContext |
getSchemaClassDefinition(java.lang.String name) |
void |
modifyAttributes(javax.naming.Name name,
int modificationOp,
javax.naming.directory.Attributes attrs) |
void |
modifyAttributes(javax.naming.Name name,
javax.naming.directory.ModificationItem[] mods) |
void |
modifyAttributes(java.lang.String name,
int modificationOp,
javax.naming.directory.Attributes attrs) |
void |
modifyAttributes(java.lang.String name,
javax.naming.directory.ModificationItem[] mods) |
void |
rebind(javax.naming.Name name,
java.lang.Object obj,
javax.naming.directory.Attributes attrs) |
void |
rebind(java.lang.String name,
java.lang.Object obj,
javax.naming.directory.Attributes attrs) |
javax.naming.NamingEnumeration<javax.naming.directory.SearchResult> |
search(javax.naming.Name name,
javax.naming.directory.Attributes matchingAttributes) |
javax.naming.NamingEnumeration<javax.naming.directory.SearchResult> |
search(javax.naming.Name name,
javax.naming.directory.Attributes matchingAttributes,
java.lang.String[] attributesToReturn) |
javax.naming.NamingEnumeration<javax.naming.directory.SearchResult> |
search(javax.naming.Name name,
java.lang.String filterExpr,
java.lang.Object[] filterArgs,
javax.naming.directory.SearchControls cons) |
javax.naming.NamingEnumeration<javax.naming.directory.SearchResult> |
search(javax.naming.Name name,
java.lang.String filter,
javax.naming.directory.SearchControls cons) |
javax.naming.NamingEnumeration<javax.naming.directory.SearchResult> |
search(java.lang.String name,
javax.naming.directory.Attributes matchingAttributes) |
javax.naming.NamingEnumeration<javax.naming.directory.SearchResult> |
search(java.lang.String name,
javax.naming.directory.Attributes matchingAttributes,
java.lang.String[] attributesToReturn) |
javax.naming.NamingEnumeration<javax.naming.directory.SearchResult> |
search(java.lang.String name,
java.lang.String filterExpr,
java.lang.Object[] filterArgs,
javax.naming.directory.SearchControls cons) |
javax.naming.NamingEnumeration<javax.naming.directory.SearchResult> |
search(java.lang.String name,
java.lang.String filter,
javax.naming.directory.SearchControls cons) |
addToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getEnvironment, getNameInNamespace, getNameParser, getNameParser, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbind
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getEnvironment, getNameInNamespace, getNameParser, getNameParser, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbind
public void bind(javax.naming.Name name, java.lang.Object obj, javax.naming.directory.Attributes attrs) throws javax.naming.NamingException
bind
in interface javax.naming.directory.DirContext
javax.naming.NamingException
public void bind(java.lang.String name, java.lang.Object obj, javax.naming.directory.Attributes attrs) throws javax.naming.NamingException
bind
in interface javax.naming.directory.DirContext
javax.naming.NamingException
public javax.naming.directory.DirContext createSubcontext(javax.naming.Name name, javax.naming.directory.Attributes attrs) throws javax.naming.NamingException
createSubcontext
in interface javax.naming.directory.DirContext
javax.naming.NamingException
public javax.naming.directory.DirContext createSubcontext(java.lang.String name, javax.naming.directory.Attributes attrs) throws javax.naming.NamingException
createSubcontext
in interface javax.naming.directory.DirContext
javax.naming.NamingException
public javax.naming.directory.Attributes getAttributes(javax.naming.Name name) throws javax.naming.NamingException
getAttributes
in interface javax.naming.directory.DirContext
javax.naming.NamingException
public javax.naming.directory.Attributes getAttributes(javax.naming.Name name, java.lang.String[] attrIds) throws javax.naming.NamingException
getAttributes
in interface javax.naming.directory.DirContext
javax.naming.NamingException
public javax.naming.directory.Attributes getAttributes(java.lang.String name) throws javax.naming.NamingException
getAttributes
in interface javax.naming.directory.DirContext
javax.naming.NamingException
public javax.naming.directory.Attributes getAttributes(java.lang.String name, java.lang.String[] attrIds) throws javax.naming.NamingException
getAttributes
in interface javax.naming.directory.DirContext
javax.naming.NamingException
public javax.naming.directory.DirContext getSchema(javax.naming.Name name) throws javax.naming.NamingException
getSchema
in interface javax.naming.directory.DirContext
javax.naming.NamingException
public javax.naming.directory.DirContext getSchema(java.lang.String name) throws javax.naming.NamingException
getSchema
in interface javax.naming.directory.DirContext
javax.naming.NamingException
public javax.naming.directory.DirContext getSchemaClassDefinition(javax.naming.Name name) throws javax.naming.NamingException
getSchemaClassDefinition
in interface javax.naming.directory.DirContext
javax.naming.NamingException
public javax.naming.directory.DirContext getSchemaClassDefinition(java.lang.String name) throws javax.naming.NamingException
getSchemaClassDefinition
in interface javax.naming.directory.DirContext
javax.naming.NamingException
public void modifyAttributes(javax.naming.Name name, int modificationOp, javax.naming.directory.Attributes attrs) throws javax.naming.NamingException
modifyAttributes
in interface javax.naming.directory.DirContext
javax.naming.NamingException
public void modifyAttributes(javax.naming.Name name, javax.naming.directory.ModificationItem[] mods) throws javax.naming.NamingException
modifyAttributes
in interface javax.naming.directory.DirContext
javax.naming.NamingException
public void modifyAttributes(java.lang.String name, int modificationOp, javax.naming.directory.Attributes attrs) throws javax.naming.NamingException
modifyAttributes
in interface javax.naming.directory.DirContext
javax.naming.NamingException
public void modifyAttributes(java.lang.String name, javax.naming.directory.ModificationItem[] mods) throws javax.naming.NamingException
modifyAttributes
in interface javax.naming.directory.DirContext
javax.naming.NamingException
public void rebind(javax.naming.Name name, java.lang.Object obj, javax.naming.directory.Attributes attrs) throws javax.naming.NamingException
rebind
in interface javax.naming.directory.DirContext
javax.naming.NamingException
public void rebind(java.lang.String name, java.lang.Object obj, javax.naming.directory.Attributes attrs) throws javax.naming.NamingException
rebind
in interface javax.naming.directory.DirContext
javax.naming.NamingException
public javax.naming.NamingEnumeration<javax.naming.directory.SearchResult> search(javax.naming.Name name, javax.naming.directory.Attributes matchingAttributes) throws javax.naming.NamingException
search
in interface javax.naming.directory.DirContext
javax.naming.NamingException
public javax.naming.NamingEnumeration<javax.naming.directory.SearchResult> search(javax.naming.Name name, javax.naming.directory.Attributes matchingAttributes, java.lang.String[] attributesToReturn) throws javax.naming.NamingException
search
in interface javax.naming.directory.DirContext
javax.naming.NamingException
public javax.naming.NamingEnumeration<javax.naming.directory.SearchResult> search(javax.naming.Name name, java.lang.String filterExpr, java.lang.Object[] filterArgs, javax.naming.directory.SearchControls cons) throws javax.naming.NamingException
search
in interface javax.naming.directory.DirContext
javax.naming.NamingException
public javax.naming.NamingEnumeration<javax.naming.directory.SearchResult> search(javax.naming.Name name, java.lang.String filter, javax.naming.directory.SearchControls cons) throws javax.naming.NamingException
search
in interface javax.naming.directory.DirContext
javax.naming.NamingException
public javax.naming.NamingEnumeration<javax.naming.directory.SearchResult> search(java.lang.String name, javax.naming.directory.Attributes matchingAttributes) throws javax.naming.NamingException
search
in interface javax.naming.directory.DirContext
javax.naming.NamingException
public javax.naming.NamingEnumeration<javax.naming.directory.SearchResult> search(java.lang.String name, javax.naming.directory.Attributes matchingAttributes, java.lang.String[] attributesToReturn) throws javax.naming.NamingException
search
in interface javax.naming.directory.DirContext
javax.naming.NamingException
public javax.naming.NamingEnumeration<javax.naming.directory.SearchResult> search(java.lang.String name, java.lang.String filterExpr, java.lang.Object[] filterArgs, javax.naming.directory.SearchControls cons) throws javax.naming.NamingException
search
in interface javax.naming.directory.DirContext
javax.naming.NamingException
public javax.naming.NamingEnumeration<javax.naming.directory.SearchResult> search(java.lang.String name, java.lang.String filter, javax.naming.directory.SearchControls cons) throws javax.naming.NamingException
search
in interface javax.naming.directory.DirContext
javax.naming.NamingException