|
||||||||||
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.mdb.MdbTagsHandler
public class MdbTagsHandler
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 | |
---|---|
MdbTagsHandler()
|
Method Summary | |
---|---|
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. |
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 MdbTagsHandler()
Method Detail |
---|
public static java.lang.String getMessageDrivenClassFor(xjavadoc.XClass clazz)
clazz
- Describe what the parameter does
public static boolean isMessageDriven(xjavadoc.XClass clazz)
clazz
- Description of Parameter
protected static java.lang.String getMessageDrivenClassPattern()
public void forAllMDBeans(java.lang.String template) throws XDocletException
template
- The body of the block tag
XDocletException
isMessageDriven(xjavadoc.XClass)
public void ifMessageDriven(java.lang.String template) throws XDocletException
template
- The body of the block tag
XDocletException
public void ifNotMessageDriven(java.lang.String template) throws XDocletException
template
- The body of the block tag
XDocletException
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 tag
XDocletException
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 tag
XDocletException
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 tag
XDocletException
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 tag
XDocletException
|
http://xdoclet.sourceforge.net/ | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |