xdoclet.modules.ejb.session
Class SessionTagsHandler
EjbTagsHandler
xdoclet.modules.ejb.session.SessionTagsHandler
public class SessionTagsHandler
extends EjbTagsHandler
- Ara Abrahamian (ara_e@email.com)
void | forAllSessionBeans(String template) - Evaluates the body block for each EJBean derived from SessionBean.
|
void | forAllStatefulSessionBeans(String template) - Evaluates the body block for each EJBean derived from SessionBean which is stateful.
|
void | forAllStatelessSessionBeans(String template) - Evaluates the body block for each EJBean derived from SessionBean which is stateless.
|
static String | getSessionClassFor(XClass clazz) - Gets the SessionClassFor attribute of the SessionTagsHandler class
|
protected static String | getSessionClassPattern() - Gets the SessionClassPattern attribute of the SessionTagsHandler class
|
void | ifNotStatefulSession(String template) - Evaluate the body block if current class is not of a stateful session bean type.
|
void | ifNotStatelessSession(String template) - Evaluate the body block if current class is not of an stateless session bean type.
|
void | ifStatefulSession(String template) - Evaluate the body block if current class is of an stateful session bean type.
|
void | ifStatelessSession(String template) - Evaluate the body block if current class is of an stateless session bean type.
|
static boolean | isSession(XClass clazz) - Returns true if clazz is a session bean, false otherwise.
|
boolean | isStatefulSession(XClass clazz) - Returns true if clazz is a stateful session bean, false otherwise.
|
boolean | isStatelessSession(XClass clazz) - Returns true if clazz is a stateless session bean, false otherwise.
|
String | sessionClass() - Returns the name of generated session class.
|
forAllSessionBeans
public void forAllSessionBeans(String template)
throws xdoclet.XDocletException
Evaluates the body block for each EJBean derived from SessionBean.
template
- The body of the block tag
xdoclet.XDocletException
-
isSession(xjavadoc.XClass)
forAllStatefulSessionBeans
public void forAllStatefulSessionBeans(String template)
throws xdoclet.XDocletException
Evaluates the body block for each EJBean derived from SessionBean which is stateful.
template
- The body of the block tag
xdoclet.XDocletException
-
isStatefulSession(xjavadoc.XClass)
forAllStatelessSessionBeans
public void forAllStatelessSessionBeans(String template)
throws xdoclet.XDocletException
Evaluates the body block for each EJBean derived from SessionBean which is stateless.
template
- The body of the block tag
xdoclet.XDocletException
-
isStatelessSession(xjavadoc.XClass)
getSessionClassFor
public static String getSessionClassFor(XClass clazz)
Gets the SessionClassFor attribute of the SessionTagsHandler class
clazz
- Describe what the parameter does
- The SessionClassFor value
getSessionClassPattern
protected static String getSessionClassPattern()
Gets the SessionClassPattern attribute of the SessionTagsHandler class
- The SessionClassPattern value
ifNotStatefulSession
public void ifNotStatefulSession(String template)
throws xdoclet.XDocletException
Evaluate the body block if current class is not of a stateful session bean type.
template
- The body of the block tag
xdoclet.XDocletException
-
isStatefulSession(xjavadoc.XClass)
ifNotStatelessSession
public void ifNotStatelessSession(String template)
throws xdoclet.XDocletException
Evaluate the body block if current class is not of an stateless session bean type.
template
- The body of the block tag
xdoclet.XDocletException
-
isStatelessSession(xjavadoc.XClass)
ifStatefulSession
public void ifStatefulSession(String template)
throws xdoclet.XDocletException
Evaluate the body block if current class is of an stateful session bean type.
template
- The body of the block tag
xdoclet.XDocletException
-
isStatefulSession(xjavadoc.XClass)
ifStatelessSession
public void ifStatelessSession(String template)
throws xdoclet.XDocletException
Evaluate the body block if current class is of an stateless session bean type.
template
- The body of the block tag
xdoclet.XDocletException
-
isStatelessSession(xjavadoc.XClass)
isSession
public static boolean isSession(XClass clazz)
Returns true if clazz is a session bean, false otherwise.
clazz
- Description of Parameter
isStatefulSession
public boolean isStatefulSession(XClass clazz)
throws xdoclet.XDocletException
Returns true if clazz is a stateful session bean, false otherwise. Entity type is determined by looking at the
ejb:bean's type parameter.
clazz
- Description of Parameter
- The StatefulSession value
xdoclet.XDocletException
-
isStatelessSession
public boolean isStatelessSession(XClass clazz)
throws xdoclet.XDocletException
Returns true if clazz is a stateless session bean, false otherwise. Entity type is determined by looking at the
ejb:bean's type parameter.
clazz
- Description of Parameter
- The StatelessSession value
xdoclet.XDocletException
-
sessionClass
public String sessionClass()
throws xdoclet.XDocletException
Returns the name of generated session class.
- The name of generated session class.
xdoclet.XDocletException
-