public class EntityBeanMethodChecker extends BeanMethodChecker
| Constructor and Description |
|---|
EntityBeanMethodChecker(EntityBeanCheck aCheck)
Constructs a EntityBeanMethodChecker for a bean check.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkCreateMatch()
Checks that every ejbCreate method has a matching ejbPostCreate method.
|
protected void |
checkCreateMethod(DetailAST aMethodAST)
Checks whether an ejbCreate<METHOD>(...) method of a
bean satisfies requirements.
|
protected void |
checkHomeMethod(DetailAST aMethodAST)
Checks whether an ejbHome<METHOD>(...) method of an
entity bean satisfies requirements.
|
void |
checkMethod(DetailAST aMethodAST)
Checks whether a method satisfies component requirements.
|
void |
checkMethods(DetailAST aAST)
Checks that the methods of a component satisfy requirements.
|
protected void |
checkPostCreateMethod(DetailAST aMethodAST)
Checks whether an ejbPostCreate<METHOD>(...) method of an
entity bean satisfies requirements.
|
checkMethod, checkNotThrows, checkThrows, getCheck, log, logNamepublic EntityBeanMethodChecker(EntityBeanCheck aCheck)
aCheck - the bean check.public void checkMethods(DetailAST aAST)
checkMethods in class MethodCheckeraAST - the AST for the component definition.protected void checkCreateMatch()
public void checkMethod(DetailAST aMethodAST)
checkMethod in class BeanMethodCheckeraMethodAST - the AST for the method definition.protected void checkCreateMethod(DetailAST aMethodAST)
checkCreateMethod in class BeanMethodCheckeraMethodAST - the AST for the method definition.protected void checkHomeMethod(DetailAST aMethodAST)
aMethodAST - the AST for the method definition.protected void checkPostCreateMethod(DetailAST aMethodAST)
aMethodAST - the AST for the method definition.