org.apache.directory.api.ldap.schemaloader
Class AttributeClassLoader
java.lang.Object
java.lang.ClassLoader
org.apache.directory.api.ldap.schemaloader.AttributeClassLoader
public class AttributeClassLoader
- extends ClassLoader
A class loader that loads classes from an attribute within an entry.
- Author:
- Apache Directory Project
| 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 |
AttributeClassLoader
public AttributeClassLoader()
- Instantiates a new attribute class loader.
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
public Class<?> findClass(String name)
throws ClassNotFoundException
-
- Overrides:
findClass in class ClassLoader
- Throws:
ClassNotFoundException
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.