Update of /cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/env
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27021/modules/ejb/src/xdoclet/modules/ejb/env
Modified Files:
EnvEjbRefTagsHandler.java
Log Message:
ejb reference lookup fixed
Index: EnvEjbRefTagsHandler.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/env/EnvEjbRefTagsHandler.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** EnvEjbRefTagsHandler.java 8 Apr 2005 12:38:09 -0000 1.2
--- EnvEjbRefTagsHandler.java 9 Apr 2005 08:21:58 -0000 1.3
***************
*** 60,65 ****
/**
! * Evaluates the body block for each ejb:ejb-ref defined for the EJB. One
of the useful things is does is to lookup
! * the EJB using the ejb-name parameter of ejb:ejb-ref and fill in other
required info.
*
* @param template The body of the block tag
--- 60,64 ----
/**
! * Evaluates the body block for each ejb reference.
*
* @param template The body of the block tag
***************
*** 83,86 ****
--- 82,107 ----
/**
+ * Evaluates the body block for each method- and field-level ejb
reference.
+ *
+ * @param template The body of the block tag
+ * @param attributes The attributes of the template tag
+ * @exception XDocletException
+ * @doc.tag type="block"
+ * @doc.param name="tagName" description="the ejb-ref
tag" default="ejb.ejb-ref"
+ */
+ public void forAllEjbRefMembers(String template, Properties attributes)
throws XDocletException
+ {
+ already.clear();
+
+ if (attributes.getProperty("tagName") == null) {
+ attributes.setProperty("tagName", "ejb.ejb-ref");
+ }
+
+ forTags(template, attributes, false, true, true);
+
+ already.clear();
+ }
+
+ /**
* Returns the global JNDI name for the current EJB ref.
*
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel