|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.puppycrawl.tools.checkstyle.checks.j2ee.MethodChecker
com.puppycrawl.tools.checkstyle.checks.j2ee.BeanMethodChecker
com.puppycrawl.tools.checkstyle.checks.j2ee.EntityBeanMethodChecker
com.puppycrawl.tools.checkstyle.checks.j2ee.ContainerManagedMethodChecker
public class ContainerManagedMethodChecker
Checks methods of entity beans with container-managed persistence. Reference: Enterprise JavaBeansTM Specification,Version 2.0, Chapter 10
| Constructor Summary | |
|---|---|
ContainerManagedMethodChecker(EntityBeanCheck aCheck)
Constructs a ContainerManagedMethodChecker for a entity bean check. |
|
| Method Summary | |
|---|---|
protected void |
checkCreateMethod(DetailAST aMethodAST)
Checks whether an ejbCreate<METHOD>(...) method of an entity bean satisfies requirements. |
void |
checkMethod(DetailAST aMethodAST)
Checks whether a method satisfies component requirements. |
protected void |
checkSelectMethod(DetailAST aMethodAST)
Checks whether an ejbSelect<METHOD>(...) method of an entity bean satisfies requirements. |
| Methods inherited from class com.puppycrawl.tools.checkstyle.checks.j2ee.EntityBeanMethodChecker |
|---|
checkCreateMatch, checkHomeMethod, checkMethods, checkPostCreateMethod |
| Methods inherited from class com.puppycrawl.tools.checkstyle.checks.j2ee.MethodChecker |
|---|
checkMethod, checkNotThrows, checkThrows, getCheck, log, logName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContainerManagedMethodChecker(EntityBeanCheck aCheck)
aCheck - the entity bean check.| Method Detail |
|---|
public void checkMethod(DetailAST aMethodAST)
checkMethod in class EntityBeanMethodCheckeraMethodAST - the AST for the method definition.protected void checkSelectMethod(DetailAST aMethodAST)
aMethodAST - the AST for the method definition.protected void checkCreateMethod(DetailAST aMethodAST)
checkCreateMethod in class EntityBeanMethodCheckeraMethodAST - the AST for the method definition.
|
Back to the Checkstyle Home Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||