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 |
DEFAULT_SEARCH_CONTEXTS_CONFIG |
| 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 final String DEFAULT_SEARCH_CONTEXTS_CONFIG
public LdapClassLoader(DirectoryService directoryService) throws org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapExceptionpublic Class<?> findClass(String name) throws ClassNotFoundException
findClass in class ClassLoaderClassNotFoundExceptionCopyright © 2021. All rights reserved.