Class ValidateClass

java.lang.Object
org.jboss.jca.validator.ValidateClass
All Implemented Interfaces:
Validate
Direct Known Subclasses:
ValidateObject

public class ValidateClass extends Object implements Validate
ValidateClass for objects that should be validated
  • Constructor Details

    • ValidateClass

      public ValidateClass(Key key, Class<?> clazz)
      Constructor
      Parameters:
      key - The key
      clazz - The class
    • ValidateClass

      public ValidateClass(Key key, Class<?> clazz, List<? extends ConfigProperty> configProperties)
      Constructor
      Parameters:
      key - The key
      clazz - The class
      configProperties - The list of config property metadata
    • ValidateClass

      public ValidateClass(Key key, String className, ClassLoader cl, List<? extends ConfigProperty> configProperties)
      Constructor
      Parameters:
      key - The key
      className - The class
      cl - the class loader used to load class
      configProperties - The list of config property metadata
  • Method Details

    • getKey

      public Key getKey()
      Get the key
      Specified by:
      getKey in interface Validate
      Returns:
      The key
    • getClazz

      public Class<?> getClazz()
      Get the clazz
      Specified by:
      getClazz in interface Validate
      Returns:
      The clazz
    • getConfigProperties

      public List<? extends ConfigProperty> getConfigProperties()
      Get the list of config properties
      Returns:
      The list
    • getClassName

      public String getClassName()
      Get the class name. This property is set if a class can't be resolved
      Returns:
      The value
    • getClassLoader

      public ClassLoader getClassLoader()
      Get the class loader. This property is set if a class can't be resolved
      Returns:
      The value