com.puppycrawl.tools.checkstyle.checks.j2ee
Class SessionBeanCheck
- Configurable, Contextualizable
public class SessionBeanCheck
Checks that a SessionBean implementation satisfies SessionBean
requirements. Such as:
- The class is defined as
public. - The class cannot be defined as
final. - It implements one or more
ejbCreate methods. - It contains a
public constructor with no parameters. - It must not define the
finalize method.
Reference: Enterprise JavaBeansTM Specification,Version 2.0, section 7.10.2.
beginTree, destroy, finishTree, getAcceptableTokens, getClassLoader, getDefaultTokens, getFileContents, getLines, getRequiredTokens, getTabWidth, getTokenNames, init, leaveToken, log, log, setClassLoader, setFileContents, setMessages, setTabWidth, setTokens, visitToken |
getId, getMessageBundle, getSeverity, getSeverityLevel, log, log, log, log, log, log, log, log, log, log, log, setId, setSeverity |
SessionBeanCheck
public SessionBeanCheck()
Constructs a SessionBeanCheck.