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 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

      protected Class<?> findClass(String name) throws ClassNotFoundException
      Overrides:
      findClass in class ClassLoader
      Throws:
      ClassNotFoundException