xdoclet.modules.ejb.mdb
Class MdbSubTask
AbstractEjbCodeGeneratorSubTask
xdoclet.modules.ejb.mdb.MdbSubTask
public class MdbSubTask
extends AbstractEjbCodeGeneratorSubTask
- Jonathan Kovacs (jonk at globaliqx.com)
- display-name = "Mdb Bean"
name = "mdb"
parent = "xdoclet.modules.ejb.EjbDocletTask"
MdbSubTask() - Describe what the MdbSubTask constructor does
|
DEFAULT_MESSAGE_DRIVEN_CLASS_PATTERN
public static final String DEFAULT_MESSAGE_DRIVEN_CLASS_PATTERN
DEFAULT_TEMPLATE_FILE
protected static final String DEFAULT_TEMPLATE_FILE
mdbClassPattern
protected String mdbClassPattern
A configuration parameter for specifying the concrete mdb bean class name pattern. By default the value is used
for deciding the concrete mdb bean class name. {0} in the value mean current class's symbolic name which for an
EJBean is the EJB name.
MdbSubTask
public MdbSubTask()
Describe what the MdbSubTask constructor does
engineStarted
protected void engineStarted()
throws xdoclet.XDocletException
Describe what the method does
xdoclet.XDocletException
-
getGeneratedFileName
protected String getGeneratedFileName(XClass clazz)
throws xdoclet.XDocletException
Gets the GeneratedFileName attribute of the MdbSubTask object
clazz
- Describe what the parameter does
- The GeneratedFileName value
xdoclet.XDocletException
-
getMessageDrivenClassPattern
public String getMessageDrivenClassPattern()
Returns the configuration parameter for specifying the concrete mdb bean class name pattern. By default the value
is used for deciding the concrete mdb bean class name. {0} in the value mean current class's symbolic name which
for an EJBean is the EJB name. If nothing explicitly specified by user then "{0}Mdb" is used by default.
- The MdbClassPattern value
matchesGenerationRules
protected boolean matchesGenerationRules(XClass clazz)
throws xdoclet.XDocletException
Describe what the method does
clazz
- Describe what the parameter does
- Describe the return value
xdoclet.XDocletException
-
setPattern
public void setPattern(String new_pattern)
Sets the Pattern attribute of the MdbSubTask object
new_pattern
- The new Pattern value
validateOptions
public void validateOptions()
throws xdoclet.XDocletException
Called to validate configuration parameters.
xdoclet.XDocletException
-