|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openejb.config.rules.CheckMethods
Constructor Summary | |
CheckMethods()
|
Method Summary | |
boolean |
check_createMethodsAreImplemented(Bean b,
Class bean,
Class home)
Create methods must me implemented |
boolean |
check_hasCreateMethod(Bean b,
Class bean,
Class home)
Must have at least one create method in the home interface. |
boolean |
check_postCreateMethodsAreImplemented(Bean b,
Class bean,
Class home)
Validate that the ejbPostCreate methods of entity beans are implemented in the bean class |
boolean |
check_unusedCreateMethods(Bean b,
Class bean,
Class home)
Check for any create methods in the bean that aren't in the home interface as well |
void |
validate(EjbSet set)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CheckMethods()
Method Detail |
public void validate(EjbSet set)
validate
in interface ValidationRule
public boolean check_hasCreateMethod(Bean b, Class bean, Class home)
b
- bean
- home
- public boolean check_createMethodsAreImplemented(Bean b, Class bean, Class home)
b
- bean
- home
-
public boolean check_postCreateMethodsAreImplemented(Bean b, Class bean, Class home)
b
- bean
- home
-
public boolean check_unusedCreateMethods(Bean b, Class bean, Class home)
b
- bean
- home
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |