public class LdapClassLoader extends ClassLoader
This loader looks for an configuration entry whose DN is determined by defaultSearchContextsConfig variable. If there is such an entry it gets the search contexts from the entry and searches the class to be loaded in those contexts. If there is no default search context configuration entry it searches the class in the whole DIT.
| Modifier and Type | Field and Description |
|---|---|
static String |
defaultSearchContextsConfig |
| Constructor and Description |
|---|
LdapClassLoader(DirectoryService directoryService) |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
findClass(String name) |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic static String defaultSearchContextsConfig
public LdapClassLoader(DirectoryService directoryService) throws org.apache.directory.shared.ldap.exception.LdapException
org.apache.directory.shared.ldap.exception.LdapExceptionpublic Class<?> findClass(String name) throws ClassNotFoundException
findClass in class ClassLoaderClassNotFoundExceptionCopyright © 2003-2012 Apache Software Foundation. All Rights Reserved.