|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ClassLoader
org.apache.directory.server.core.sp.LdapClassLoader
public class LdapClassLoader
A class loader that loads classes from an LDAP DIT.
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.
Field Summary | |
---|---|
static java.lang.String |
defaultSearchContextsConfig
|
Constructor Summary | |
---|---|
LdapClassLoader(DirectoryService directoryService)
|
Method Summary | |
---|---|
java.lang.Class<?> |
findClass(java.lang.String name)
|
Methods inherited from class java.lang.ClassLoader |
---|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String defaultSearchContextsConfig
Constructor Detail |
---|
public LdapClassLoader(DirectoryService directoryService) throws org.apache.directory.shared.ldap.exception.LdapException
org.apache.directory.shared.ldap.exception.LdapException
Method Detail |
---|
public java.lang.Class<?> findClass(java.lang.String name) throws java.lang.ClassNotFoundException
findClass
in class java.lang.ClassLoader
java.lang.ClassNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |