Package org.jboss.jca.validator
Class ValidateClass
java.lang.Object
org.jboss.jca.validator.ValidateClass
- All Implemented Interfaces:
Validate
- Direct Known Subclasses:
ValidateObject
ValidateClass for objects that should be validated
-
Constructor Summary
ConstructorsConstructorDescriptionValidateClass(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
Modifier and TypeMethodDescriptionGet the class loader.Get the class name.Class<?> getClazz()Get the clazzList<? extends ConfigProperty> Get the list of config propertiesgetKey()Get the key
-
Constructor Details
-
ValidateClass
Constructor- Parameters:
key- The keyclazz- The class
-
ValidateClass
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 Details
-
getKey
Get the key -
getClazz
Get the clazz -
getConfigProperties
Get the list of config properties- Returns:
- The list
-
getClassName
Get the class name. This property is set if a class can't be resolved- Returns:
- The value
-
getClassLoader
Get the class loader. This property is set if a class can't be resolved- Returns:
- The value
-