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)
void
setAttribute(Attribute attribute)
Sets the attribute.-
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, getDefinedPackage, getDefinedPackages, getName, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus
-
-
-
-
Constructor Detail
-
AttributeClassLoader
public AttributeClassLoader()
Instantiates a new attribute class loader.
-
-
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
- Throws:
ClassNotFoundException
-
-