xdoclet.modules.ejb.session
public class SessionTagsHandler extends EjbTagsHandler
ALL, LOCAL_SUFFIX, SERVICE_ENDPOINT, SERVICE_ENDPOINT_SUFFIX
FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER
Constructor and Description |
---|
SessionTagsHandler() |
Modifier and Type | Method and Description |
---|---|
void |
forAllSessionBeans(java.lang.String template)
Evaluates the body block for each EJBean derived from SessionBean.
|
void |
forAllStatefulSessionBeans(java.lang.String template)
Evaluates the body block for each EJBean derived from SessionBean which is stateful.
|
void |
forAllStatelessSessionBeans(java.lang.String template)
Evaluates the body block for each EJBean derived from SessionBean which is stateless.
|
static java.lang.String |
getSessionClassFor(xjavadoc.XClass clazz)
Gets the SessionClassFor attribute of the SessionTagsHandler class
|
protected static java.lang.String |
getSessionClassPattern()
Gets the SessionClassPattern attribute of the SessionTagsHandler class
|
void |
ifNotStatefulSession(java.lang.String template)
Evaluate the body block if current class is not of a stateful session bean type.
|
void |
ifNotStatelessSession(java.lang.String template)
Evaluate the body block if current class is not of an stateless session bean type.
|
void |
ifStatefulSession(java.lang.String template)
Evaluate the body block if current class is of an stateful session bean type.
|
void |
ifStatelessSession(java.lang.String template)
Evaluate the body block if current class is of an stateless session bean type.
|
static boolean |
isSession(xjavadoc.XClass clazz)
Returns true if clazz is a session bean, false otherwise.
|
boolean |
isStatefulSession(xjavadoc.XClass clazz)
Returns true if clazz is a stateful session bean, false otherwise.
|
boolean |
isStatelessSession(xjavadoc.XClass clazz)
Returns true if clazz is a stateless session bean, false otherwise.
|
java.lang.String |
sessionClass()
Returns the name of generated session class.
|
beanType, choosePackage, concreteFullClassName, ejbExternalRefName, ejbName, ejbRefName, ejbRefName, extendsFromFor, forAllBeans, getDependentClassFor, getDependentClassTagName, getEjb, getEjbIdFor, getEjbNameFor, getEjbSpec, getShortEjbNameFor, hasTransaction, id, ifIsAConcreteEJBean, ifLocalEjb, ifNotLocalEjb, ifNotRemoteEjb, ifNotServiceEndpointEjb, ifRemoteEjb, ifServiceEndpointEjb, isAConcreteEJBean, isEjb, isLocalEjb, isOnlyLocalEjb, isOnlyRemoteEjb, isOnlyServiceEndpointEjb, isRemoteEjb, isServiceEndpointEjb, prefixWithEjbSlash, shortEjbName, shouldTraverseSuperclassForDependentClass, symbolicClassName
delimit, expandClassName, generate, getCurrentClass, getCurrentClassTag, getCurrentConstructor, getCurrentField, getCurrentFieldTag, getCurrentMethod, getCurrentMethodTag, getCurrentPackage, getDocletContext, getEngine, getExpandedDelimitedTagValue, getTagValue, getTagValue, getTagValue, hasHavingClassTag, hasTag, isTagValueEqual, mandatoryParamNotFound, mandatoryTemplateTagParamNotFound, modifiers, popCurrentClass, pushCurrentClass, setCurrentClass, setCurrentClassTag, setCurrentConstructor, setCurrentField, setCurrentFieldTag, setCurrentMethod, setCurrentMethodTag, setCurrentPackage
getXJavaDoc, setXJavaDoc
public static java.lang.String getSessionClassFor(xjavadoc.XClass clazz)
clazz
- Describe what the parameter doespublic static boolean isSession(xjavadoc.XClass clazz)
clazz
- Description of Parameterprotected static java.lang.String getSessionClassPattern()
public boolean isStatefulSession(xjavadoc.XClass clazz) throws XDocletException
clazz
- Description of ParameterXDocletException
public boolean isStatelessSession(xjavadoc.XClass clazz) throws XDocletException
clazz
- Description of ParameterXDocletException
public java.lang.String sessionClass() throws XDocletException
XDocletException
public void ifStatelessSession(java.lang.String template) throws XDocletException
template
- The body of the block tagXDocletException
isStatelessSession(xjavadoc.XClass)
public void ifNotStatelessSession(java.lang.String template) throws XDocletException
template
- The body of the block tagXDocletException
isStatelessSession(xjavadoc.XClass)
public void ifStatefulSession(java.lang.String template) throws XDocletException
template
- The body of the block tagXDocletException
isStatefulSession(xjavadoc.XClass)
public void ifNotStatefulSession(java.lang.String template) throws XDocletException
template
- The body of the block tagXDocletException
isStatefulSession(xjavadoc.XClass)
public void forAllSessionBeans(java.lang.String template) throws XDocletException
template
- The body of the block tagXDocletException
isSession(xjavadoc.XClass)
public void forAllStatefulSessionBeans(java.lang.String template) throws XDocletException
template
- The body of the block tagXDocletException
isStatefulSession(xjavadoc.XClass)
public void forAllStatelessSessionBeans(java.lang.String template) throws XDocletException
template
- The body of the block tagXDocletException
isStatelessSession(xjavadoc.XClass)