Methods Summary |
---|
public void | bind(java.lang.String name, java.lang.Object obj, javax.naming.directory.Attributes attrs)
getURLOrDefaultInitDirCtx(name).bind(name, obj, attrs);
|
public void | bind(javax.naming.Name name, java.lang.Object obj, javax.naming.directory.Attributes attrs)
getURLOrDefaultInitDirCtx(name).bind(name, obj, attrs);
|
public javax.naming.directory.DirContext | createSubcontext(java.lang.String name, javax.naming.directory.Attributes attrs)
return getURLOrDefaultInitDirCtx(name).createSubcontext(name, attrs);
|
public javax.naming.directory.DirContext | createSubcontext(javax.naming.Name name, javax.naming.directory.Attributes attrs)
return getURLOrDefaultInitDirCtx(name).createSubcontext(name, attrs);
|
public javax.naming.directory.Attributes | getAttributes(java.lang.String name)
return getAttributes(name, null);
|
public javax.naming.directory.Attributes | getAttributes(java.lang.String name, java.lang.String[] attrIds)
return getURLOrDefaultInitDirCtx(name).getAttributes(name, attrIds);
|
public javax.naming.directory.Attributes | getAttributes(javax.naming.Name name)
return getAttributes(name, null);
|
public javax.naming.directory.Attributes | getAttributes(javax.naming.Name name, java.lang.String[] attrIds)
return getURLOrDefaultInitDirCtx(name).getAttributes(name, attrIds);
|
public javax.naming.directory.DirContext | getSchema(java.lang.String name)
return getURLOrDefaultInitDirCtx(name).getSchema(name);
|
public javax.naming.directory.DirContext | getSchema(javax.naming.Name name)
return getURLOrDefaultInitDirCtx(name).getSchema(name);
|
public javax.naming.directory.DirContext | getSchemaClassDefinition(java.lang.String name)
return getURLOrDefaultInitDirCtx(name).getSchemaClassDefinition(name);
|
public javax.naming.directory.DirContext | getSchemaClassDefinition(javax.naming.Name name)
return getURLOrDefaultInitDirCtx(name).getSchemaClassDefinition(name);
|
private javax.naming.directory.DirContext | getURLOrDefaultInitDirCtx(java.lang.String name)
Context answer = getURLOrDefaultInitCtx(name);
if (!(answer instanceof DirContext)) {
if (answer == null) {
throw new NoInitialContextException();
} else {
throw new NotContextException(
"Not an instance of DirContext");
}
}
return (DirContext)answer;
|
private javax.naming.directory.DirContext | getURLOrDefaultInitDirCtx(javax.naming.Name name)
Context answer = getURLOrDefaultInitCtx(name);
if (!(answer instanceof DirContext)) {
if (answer == null) {
throw new NoInitialContextException();
} else {
throw new NotContextException(
"Not an instance of DirContext");
}
}
return (DirContext)answer;
|
public void | modifyAttributes(java.lang.String name, int mod_op, javax.naming.directory.Attributes attrs)
getURLOrDefaultInitDirCtx(name).modifyAttributes(name, mod_op, attrs);
|
public void | modifyAttributes(javax.naming.Name name, int mod_op, javax.naming.directory.Attributes attrs)
getURLOrDefaultInitDirCtx(name).modifyAttributes(name, mod_op, attrs);
|
public void | modifyAttributes(java.lang.String name, javax.naming.directory.ModificationItem[] mods)
getURLOrDefaultInitDirCtx(name).modifyAttributes(name, mods);
|
public void | modifyAttributes(javax.naming.Name name, javax.naming.directory.ModificationItem[] mods)
getURLOrDefaultInitDirCtx(name).modifyAttributes(name, mods);
|
public void | rebind(java.lang.String name, java.lang.Object obj, javax.naming.directory.Attributes attrs)
getURLOrDefaultInitDirCtx(name).rebind(name, obj, attrs);
|
public void | rebind(javax.naming.Name name, java.lang.Object obj, javax.naming.directory.Attributes attrs)
getURLOrDefaultInitDirCtx(name).rebind(name, obj, attrs);
|
public javax.naming.NamingEnumeration | search(java.lang.String name, javax.naming.directory.Attributes matchingAttributes)
return getURLOrDefaultInitDirCtx(name).search(name, matchingAttributes);
|
public javax.naming.NamingEnumeration | search(javax.naming.Name name, javax.naming.directory.Attributes matchingAttributes)
return getURLOrDefaultInitDirCtx(name).search(name, matchingAttributes);
|
public javax.naming.NamingEnumeration | search(java.lang.String name, javax.naming.directory.Attributes matchingAttributes, java.lang.String[] attributesToReturn)
return getURLOrDefaultInitDirCtx(name).search(name,
matchingAttributes,
attributesToReturn);
|
public javax.naming.NamingEnumeration | search(javax.naming.Name name, javax.naming.directory.Attributes matchingAttributes, java.lang.String[] attributesToReturn)
return getURLOrDefaultInitDirCtx(name).search(name,
matchingAttributes,
attributesToReturn);
|
public javax.naming.NamingEnumeration | search(java.lang.String name, java.lang.String filter, javax.naming.directory.SearchControls cons)
return getURLOrDefaultInitDirCtx(name).search(name, filter, cons);
|
public javax.naming.NamingEnumeration | search(javax.naming.Name name, java.lang.String filter, javax.naming.directory.SearchControls cons)
return getURLOrDefaultInitDirCtx(name).search(name, filter, cons);
|
public javax.naming.NamingEnumeration | search(java.lang.String name, java.lang.String filterExpr, java.lang.Object[] filterArgs, javax.naming.directory.SearchControls cons)
return getURLOrDefaultInitDirCtx(name).search(name, filterExpr,
filterArgs, cons);
|
public javax.naming.NamingEnumeration | search(javax.naming.Name name, java.lang.String filterExpr, java.lang.Object[] filterArgs, javax.naming.directory.SearchControls cons)
return getURLOrDefaultInitDirCtx(name).search(name, filterExpr,
filterArgs, cons);
|