public class SchemaCacheManager
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static SchemaCacheManager |
getInstance()
Get the singleton intance of SchemaCacheManager
|
javax.naming.directory.DirContext |
getLDAPSchema(java.lang.String sourceObj,
javax.naming.directory.DirContext ctx,
java.lang.String host,
java.lang.String schemaName,
java.lang.String username)
Use this method to get the cahced LDAP schema.
|
javax.naming.directory.Attribute |
getLDAPSchemaAttribute(java.lang.String attribute,
java.lang.String host,
java.lang.String username,
javax.naming.directory.DirContext ctx,
java.lang.String sourceObject)
Use this method to get a single attribute from the directory
|
javax.naming.directory.Attributes |
getLDAPSchemaAttributes(java.lang.String[] attributes,
java.lang.String host,
java.lang.String username,
javax.naming.directory.DirContext ctx,
java.lang.String sourceObject,
java.lang.String schemaName)
Use this method to get a set of directory attributes and save them in the cache.
|
public static SchemaCacheManager getInstance()
public javax.naming.directory.DirContext getLDAPSchema(java.lang.String sourceObj,
javax.naming.directory.DirContext ctx,
java.lang.String host,
java.lang.String schemaName,
java.lang.String username)
throws javax.naming.NamingException
sourceObj - - String the source objectctx - - DirContexthost - - String the hostschemaName - - String the schema namejavax.naming.NamingExceptionpublic javax.naming.directory.Attribute getLDAPSchemaAttribute(java.lang.String attribute,
java.lang.String host,
java.lang.String username,
javax.naming.directory.DirContext ctx,
java.lang.String sourceObject)
throws javax.naming.NamingException
attribute - host - ctx - sourceObject - javax.naming.NamingExceptionpublic javax.naming.directory.Attributes getLDAPSchemaAttributes(java.lang.String[] attributes,
java.lang.String host,
java.lang.String username,
javax.naming.directory.DirContext ctx,
java.lang.String sourceObject,
java.lang.String schemaName)
throws javax.naming.NamingException
attributes - -String[] of attribute nameshost - - String host name.ctx - - DirContextsourceObject - - String the source nodeschemaName - - String the name of the schemajavax.naming.NamingException
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.