org.apache.directory.shared.ldap.schema.loader.ldif
Class AttributeClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by org.apache.directory.shared.ldap.schema.loader.ldif.AttributeClassLoader

public class AttributeClassLoader
extends java.lang.ClassLoader

A class loader that loads classes from an attribute within an entry.

Version:
$Rev$ $Date$
Author:
Apache Directory Project

Field Summary
 EntryAttribute attribute
           
 
Constructor Summary
AttributeClassLoader()
           
 
Method Summary
 java.lang.Class<?> findClass(java.lang.String name)
           
 void setAttribute(EntryAttribute attribute)
           
 
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

attribute

public EntryAttribute attribute
Constructor Detail

AttributeClassLoader

public AttributeClassLoader()
Method Detail

setAttribute

public void setAttribute(EntryAttribute attribute)
                  throws javax.naming.NamingException
Throws:
javax.naming.NamingException

findClass

public java.lang.Class<?> findClass(java.lang.String name)
                             throws java.lang.ClassNotFoundException
Overrides:
findClass in class java.lang.ClassLoader
Throws:
java.lang.ClassNotFoundException


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.