xdoclet.modules.ejb.mdb
public class MdbTagsHandler extends EjbTagsHandler
ALL, LOCAL_SUFFIX, SERVICE_ENDPOINT, SERVICE_ENDPOINT_SUFFIX
FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER
Constructor and Description |
---|
MdbTagsHandler() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
destinationDescription()
Returns the description of the current message destination
|
java.lang.String |
destinationDisplayName()
Returns the display-name of the current message destination
|
java.lang.String |
destinationJndiName()
Returns the jndi-name of the current message destination
|
java.lang.String |
destinationName()
Returns the name of the current message destination
|
void |
forAllDestinations(java.lang.String template)
Evaluates the body block for each ejb:message-destination defined in class level
|
void |
forAllMDBeans(java.lang.String template)
Evaluates the body block for each EJBean derived from MessageDrivenBean.
|
static java.lang.String |
getMessageDrivenClassFor(xjavadoc.XClass clazz)
Gets the MdbClassFor attribute of the MdbTagsHandler class
|
protected static java.lang.String |
getMessageDrivenClassPattern()
Gets the MdbClassPattern attribute of the MdbTagsHandler class
|
void |
ifDestinationHasDescription(java.lang.String template)
Evaluate the body block if the current message destination has a descrition
|
void |
ifDestinationHasDisplayName(java.lang.String template)
Evaluate the body block if the current message destination has a display-name
|
void |
ifDestinationHasJndiName(java.lang.String template)
Evaluate the body block if the current message destination has a jndi-name
|
void |
ifHasActivationConfig(java.lang.String template,
java.util.Properties attributes)
Evaluate the body block if the current class has a activation config
|
void |
ifMessageDriven(java.lang.String template)
Evaluate the body block if current class is of a message driven bean type.
|
void |
ifNotMessageDriven(java.lang.String template)
Evaluate the body block if current class is not of a message driven bean type.
|
static boolean |
isMessageDriven(xjavadoc.XClass clazz)
Returns true if clazz is a message-driven bean, false otherwise.
|
java.lang.String |
mdbClass()
Returns the name of message-driven bean class.
|
java.lang.String |
messageDrivenClass()
Returns the name of message-driven bean 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 getMessageDrivenClassFor(xjavadoc.XClass clazz)
clazz
- Describe what the parameter doespublic static boolean isMessageDriven(xjavadoc.XClass clazz)
clazz
- Description of Parameterprotected static java.lang.String getMessageDrivenClassPattern()
public void forAllMDBeans(java.lang.String template) throws XDocletException
template
- The body of the block tagXDocletException
isMessageDriven(xjavadoc.XClass)
public void ifMessageDriven(java.lang.String template) throws XDocletException
template
- The body of the block tagXDocletException
public void ifNotMessageDriven(java.lang.String template) throws XDocletException
template
- The body of the block tagXDocletException
public java.lang.String messageDrivenClass() throws XDocletException
XDocletException
public java.lang.String mdbClass() throws XDocletException
XDocletException
public void ifHasActivationConfig(java.lang.String template, java.util.Properties attributes) throws XDocletException
template
- The body of the block tagattributes
- XDocletException
public void forAllDestinations(java.lang.String template) throws XDocletException
template
- The body of the block tagXDocletException
destinationName()
,
destinationDescription()
,
destinationDisplayName()
public java.lang.String destinationName() throws XDocletException
XDocletException
forAllDestinations(java.lang.String)
public java.lang.String destinationDisplayName() throws XDocletException
XDocletException
forAllDestinations(java.lang.String)
public void ifDestinationHasDisplayName(java.lang.String template) throws XDocletException
template
- The body of the block tagXDocletException
public java.lang.String destinationJndiName() throws XDocletException
XDocletException
forAllDestinations(java.lang.String)
public void ifDestinationHasJndiName(java.lang.String template) throws XDocletException
template
- The body of the block tagXDocletException
public java.lang.String destinationDescription() throws XDocletException
XDocletException
forAllDestinations(java.lang.String)
public void ifDestinationHasDescription(java.lang.String template) throws XDocletException
template
- The body of the block tagXDocletException