public abstract class ValidationBase extends java.lang.Object implements ValidationRule
Constructor and Description |
---|
ValidationBase() |
Modifier and Type | Method and Description |
---|---|
void |
error(EnterpriseBean bean,
java.lang.String key,
java.lang.Object... details) |
void |
fail(EnterpriseBean bean,
java.lang.String key,
java.lang.Object... details) |
void |
fail(java.lang.String component,
java.lang.String key,
java.lang.Object... details) |
java.lang.String |
getParameters(java.lang.Class... params) |
java.lang.String |
getParameters(java.lang.reflect.Method method) |
java.lang.String |
getParameters(MethodParams methodParams) |
void |
ignoredClassAnnotation(java.lang.String annotationType,
EnterpriseBean bean,
java.lang.String className,
java.lang.String beanType) |
void |
ignoredMethodAnnotation(java.lang.String annotationType,
EnterpriseBean bean,
java.lang.String className,
java.lang.String methodName,
java.lang.String beanType) |
boolean |
isCmp(EnterpriseBean b) |
protected java.lang.Class |
loadClass(java.lang.String clazz) |
void |
missingMethod(ValidationContext set,
EnterpriseBean bean,
java.lang.String key,
java.lang.String methodName,
java.lang.Class returnType,
java.lang.Class... paramTypes) |
static boolean |
paramsMatch(java.lang.reflect.Method methodA,
java.lang.reflect.Method methodB) |
void |
validate(AppModule appModule) |
void |
validate(ClientModule appModule) |
void |
validate(EjbModule appModule) |
void |
warn(EnterpriseBean bean,
java.lang.String key,
java.lang.Object... details) |
protected void |
warn(java.lang.String componentName,
java.lang.String key,
java.lang.Object... details) |
public void validate(AppModule appModule)
validate
in interface ValidationRule
public void validate(ClientModule appModule)
public void validate(EjbModule appModule)
public void error(EnterpriseBean bean, java.lang.String key, java.lang.Object... details)
public void fail(EnterpriseBean bean, java.lang.String key, java.lang.Object... details)
public void fail(java.lang.String component, java.lang.String key, java.lang.Object... details)
public void warn(EnterpriseBean bean, java.lang.String key, java.lang.Object... details)
protected void warn(java.lang.String componentName, java.lang.String key, java.lang.Object... details)
public void missingMethod(ValidationContext set, EnterpriseBean bean, java.lang.String key, java.lang.String methodName, java.lang.Class returnType, java.lang.Class... paramTypes)
public void ignoredMethodAnnotation(java.lang.String annotationType, EnterpriseBean bean, java.lang.String className, java.lang.String methodName, java.lang.String beanType)
public void ignoredClassAnnotation(java.lang.String annotationType, EnterpriseBean bean, java.lang.String className, java.lang.String beanType)
public static boolean paramsMatch(java.lang.reflect.Method methodA, java.lang.reflect.Method methodB)
public java.lang.String getParameters(java.lang.reflect.Method method)
public java.lang.String getParameters(java.lang.Class... params)
public java.lang.String getParameters(MethodParams methodParams)
protected java.lang.Class loadClass(java.lang.String clazz) throws OpenEJBException
OpenEJBException
public boolean isCmp(EnterpriseBean b)