Class AttributeClassLoader
java.lang.Object
java.lang.ClassLoader
org.apache.directory.api.ldap.schema.loader.AttributeClassLoader
A class loader that loads classes from an attribute within an entry.
- Author:
- Apache Directory Project
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<?> voidsetAttribute(org.apache.directory.api.ldap.model.entry.Attribute attribute) Sets the attribute.Methods inherited from class ClassLoader
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, setSigners
-
Constructor Details
-
AttributeClassLoader
public AttributeClassLoader()Instantiates a new attribute class loader.
-
-
Method Details
-
setAttribute
public void setAttribute(org.apache.directory.api.ldap.model.entry.Attribute attribute) throws org.apache.directory.api.ldap.model.exception.LdapException Sets the attribute.- Parameters:
attribute- the new attribute- Throws:
org.apache.directory.api.ldap.model.exception.LdapException- if the attribute is not binary.
-
findClass
- Overrides:
findClassin classClassLoader- Throws:
ClassNotFoundException
-