|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectxdoclet.template.TemplateTagHandler
xdoclet.XDocletTagSupport
xdoclet.modules.ejb.EjbTagsHandler
xdoclet.modules.ejb.session.SessionTagsHandler
public class SessionTagsHandler
Field Summary |
---|
Fields inherited from class xdoclet.modules.ejb.EjbTagsHandler |
---|
ALL, LOCAL_SUFFIX, SERVICE_ENDPOINT, SERVICE_ENDPOINT_SUFFIX |
Fields inherited from class xdoclet.XDocletTagSupport |
---|
FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER |
Constructor Summary | |
---|---|
SessionTagsHandler()
|
Method Summary | |
---|---|
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. |
Methods inherited from class xdoclet.template.TemplateTagHandler |
---|
getXJavaDoc, setXJavaDoc |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionTagsHandler()
Method Detail |
---|
public static java.lang.String getSessionClassFor(xjavadoc.XClass clazz)
clazz
- Describe what the parameter does
public static boolean isSession(xjavadoc.XClass clazz)
clazz
- Description of Parameter
protected static java.lang.String getSessionClassPattern()
public boolean isStatefulSession(xjavadoc.XClass clazz) throws XDocletException
clazz
- Description of Parameter
XDocletException
public boolean isStatelessSession(xjavadoc.XClass clazz) throws XDocletException
clazz
- Description of Parameter
XDocletException
public java.lang.String sessionClass() throws XDocletException
XDocletException
public void ifStatelessSession(java.lang.String template) throws XDocletException
template
- The body of the block tag
XDocletException
isStatelessSession(xjavadoc.XClass)
public void ifNotStatelessSession(java.lang.String template) throws XDocletException
template
- The body of the block tag
XDocletException
isStatelessSession(xjavadoc.XClass)
public void ifStatefulSession(java.lang.String template) throws XDocletException
template
- The body of the block tag
XDocletException
isStatefulSession(xjavadoc.XClass)
public void ifNotStatefulSession(java.lang.String template) throws XDocletException
template
- The body of the block tag
XDocletException
isStatefulSession(xjavadoc.XClass)
public void forAllSessionBeans(java.lang.String template) throws XDocletException
template
- The body of the block tag
XDocletException
isSession(xjavadoc.XClass)
public void forAllStatefulSessionBeans(java.lang.String template) throws XDocletException
template
- The body of the block tag
XDocletException
isStatefulSession(xjavadoc.XClass)
public void forAllStatelessSessionBeans(java.lang.String template) throws XDocletException
template
- The body of the block tag
XDocletException
isStatelessSession(xjavadoc.XClass)
|
http://xdoclet.sourceforge.net/ | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |