|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object xdoclet.template.TemplateTagHandler xdoclet.XDocletTagSupport xdoclet.modules.ejb.EjbTagsHandler xdoclet.modules.ejb.mdb.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 | |
String |
destinationDescription()
Returns the description of the current message destination |
String |
destinationDisplayName()
Returns the display-name of the current message destination |
String |
destinationJndiName()
Returns the jndi-name of the current message destination |
String |
destinationName()
Returns the name of the current message destination |
void |
forAllDestinations(String template)
Evaluates the body block for each ejb:message-destination defined in class level |
void |
forAllMDBeans(String template)
Evaluates the body block for each EJBean derived from MessageDrivenBean. |
static String |
getMessageDrivenClassFor(xjavadoc.XClass clazz)
Gets the MdbClassFor attribute of the MdbTagsHandler class |
protected static String |
getMessageDrivenClassPattern()
Gets the MdbClassPattern attribute of the MdbTagsHandler class |
void |
ifDestinationHasDescription(String template)
Evaluate the body block if the current message destination has a descrition |
void |
ifDestinationHasDisplayName(String template)
Evaluate the body block if the current message destination has a display-name |
void |
ifDestinationHasJndiName(String template)
Evaluate the body block if the current message destination has a jndi-name |
void |
ifHasActivationConfig(String template,
Properties attributes)
Evaluate the body block if the current class has a activation config |
void |
ifMessageDriven(String template)
Evaluate the body block if current class is of a message driven bean type. |
void |
ifNotMessageDriven(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. |
String |
mdbClass()
Returns the name of message-driven bean class. |
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 String getMessageDrivenClassFor(xjavadoc.XClass clazz)
clazz
- Describe what the parameter does
public static boolean isMessageDriven(xjavadoc.XClass clazz)
clazz
- Description of Parameter
protected static String getMessageDrivenClassPattern()
public void forAllMDBeans(String template) throws XDocletException
template
- The body of the block tag
XDocletException
isMessageDriven(xjavadoc.XClass)
public void ifMessageDriven(String template) throws XDocletException
template
- The body of the block tag
XDocletException
public void ifNotMessageDriven(String template) throws XDocletException
template
- The body of the block tag
XDocletException
public String messageDrivenClass() throws XDocletException
XDocletException
public String mdbClass() throws XDocletException
XDocletException
public void ifHasActivationConfig(String template, Properties attributes) throws XDocletException
template
- The body of the block tagattributes
-
XDocletException
public void forAllDestinations(String template) throws XDocletException
template
- The body of the block tag
XDocletException
destinationName()
,
destinationDescription()
,
destinationDisplayName()
public String destinationName() throws XDocletException
XDocletException
forAllDestinations(java.lang.String)
public String destinationDisplayName() throws XDocletException
XDocletException
forAllDestinations(java.lang.String)
public void ifDestinationHasDisplayName(String template) throws XDocletException
template
- The body of the block tag
XDocletException
public String destinationJndiName() throws XDocletException
XDocletException
forAllDestinations(java.lang.String)
public void ifDestinationHasJndiName(String template) throws XDocletException
template
- The body of the block tag
XDocletException
public String destinationDescription() throws XDocletException
XDocletException
forAllDestinations(java.lang.String)
public void ifDestinationHasDescription(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 |