Update of /cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/session
In directory
sc8-pr-cvs1:/tmp/cvs-serv5194/xdoclet-all/xdoclet/modules/ejb/src/xdoclet/modules/ejb/session
Modified Files:
SessionTagsHandler.java
Log Message:
XDT-16: SunONE module, handles versions (iPlanet) 6.0 & 6.5 and (SunONE) 7.0
No web module at present, just generates ejb descriptors (and cmp mapping for 7.0)
Index: SessionTagsHandler.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/session/SessionTagsHandler.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** SessionTagsHandler.java 9 Sep 2002 15:58:26 -0000 1.9
--- SessionTagsHandler.java 11 Mar 2003 00:19:53 -0000 1.10
***************
*** 213,216 ****
--- 213,231 ----
/**
+ * Evaluate the body block if current class is not of a stateful session bean
type.
+ *
+ * @param template The body of the block tag
+ * @exception XDocletException
+ * @see #isStatefulSession(xjavadoc.XClass)
+ * @doc.tag type="block"
+ */
+ public void ifNotStatefulSession(String template) throws XDocletException
+ {
+ if (!isStatefulSession(getCurrentClass())) {
+ generate(template);
+ }
+ }
+
+ /**
* Evaluates the body block for each EJBean derived from SessionBean.
*
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel