org.apache.openejb.config.rules
Class ValidationBase

java.lang.Object
  extended by org.apache.openejb.config.rules.ValidationBase
All Implemented Interfaces:
ValidationRule
Direct Known Subclasses:
CheckAssemblyBindings, CheckCallbacks, CheckClasses, CheckInjectionTargets, CheckMethods, CheckPersistenceRefs

public abstract class ValidationBase
extends Object
implements ValidationRule

Version:
$Rev: 636697 $ $Date: 2008-03-13 11:08:06 +0100 (Do, 13. M��r 2008) $

Constructor Summary
ValidationBase()
           
 
Method Summary
 void error(EnterpriseBean bean, String key, Object... details)
           
 void fail(EnterpriseBean bean, String key, Object... details)
           
 void fail(String component, String key, Object... details)
           
 String getParameters(Class... params)
           
 String getParameters(Method method)
           
 boolean isCmp(EnterpriseBean b)
           
protected  Class loadClass(String clazz)
           
 void missingMethod(ValidationContext set, EnterpriseBean bean, String key, String methodName, Class returnType, Class... paramTypes)
           
static boolean paramsMatch(Method methodA, Method methodB)
           
 void validate(AppModule appModule)
           
 void validate(ClientModule appModule)
           
 void validate(EjbModule appModule)
           
 void warn(EnterpriseBean bean, String key, Object... details)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationBase

public ValidationBase()
Method Detail

validate

public void validate(AppModule appModule)
Specified by:
validate in interface ValidationRule

validate

public void validate(ClientModule appModule)

validate

public void validate(EjbModule appModule)

error

public void error(EnterpriseBean bean,
                  String key,
                  Object... details)

fail

public void fail(EnterpriseBean bean,
                 String key,
                 Object... details)

fail

public void fail(String component,
                 String key,
                 Object... details)

warn

public void warn(EnterpriseBean bean,
                 String key,
                 Object... details)

missingMethod

public void missingMethod(ValidationContext set,
                          EnterpriseBean bean,
                          String key,
                          String methodName,
                          Class returnType,
                          Class... paramTypes)

paramsMatch

public static boolean paramsMatch(Method methodA,
                                  Method methodB)

getParameters

public String getParameters(Method method)

getParameters

public String getParameters(Class... params)

loadClass

protected Class loadClass(String clazz)
                   throws OpenEJBException
Throws:
OpenEJBException

isCmp

public boolean isCmp(EnterpriseBean b)


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.