Class AttributeClassLoader
- java.lang.Object
-
- java.lang.ClassLoader
-
- org.apache.directory.api.ldap.schema.loader.AttributeClassLoader
-
public class AttributeClassLoader extends ClassLoader
A class loader that loads classes from an attribute within an entry.- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description AttributeClassLoader()Instantiates a new attribute class loader.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>findClass(String name)voidsetAttribute(Attribute attribute)Sets the attribute.-
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResource, findResources, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
-
-
-
Method Detail
-
setAttribute
public void setAttribute(Attribute attribute) throws LdapException
Sets the attribute.- Parameters:
attribute- the new attribute- Throws:
LdapException- if the attribute is not binary.
-
findClass
public Class<?> findClass(String name) throws ClassNotFoundException
- Overrides:
findClassin classClassLoader- Throws:
ClassNotFoundException
-
-