Package org.jboss.jca.validator
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 Summary
Constructors Constructor Description ValidateClass(Key key, Class<?> clazz)ConstructorValidateClass(Key key, Class<?> clazz, List<? extends ConfigProperty> configProperties)ConstructorValidateClass(Key key, String className, ClassLoader cl, List<? extends ConfigProperty> configProperties)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassLoadergetClassLoader()Get the class loader.StringgetClassName()Get the class name.Class<?>getClazz()Get the clazzList<? extends ConfigProperty>getConfigProperties()Get the list of config propertiesKeygetKey()Get the key
-
-
-
Constructor Detail
-
ValidateClass
public ValidateClass(Key key, Class<?> clazz)
Constructor- Parameters:
key- The keyclazz- The class
-
ValidateClass
public ValidateClass(Key key, Class<?> clazz, List<? extends ConfigProperty> configProperties)
Constructor- Parameters:
key- The keyclazz- The classconfigProperties- The list of config property metadata
-
ValidateClass
public ValidateClass(Key key, String className, ClassLoader cl, List<? extends ConfigProperty> configProperties)
Constructor- Parameters:
key- The keyclassName- The classcl- the class loader used to load classconfigProperties- The list of config property metadata
-
-
Method Detail
-
getClazz
public Class<?> getClazz()
Get 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
-
-