Update of /cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13297/modules/ejb/src/xdoclet/modules/ejb

Modified Files:
        EjbTagsHandler.java 
Log Message:
fixed view-type check for ejb 1.1 (XDT-1301)

Index: EjbTagsHandler.java
===================================================================
RCS file: 
/cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/EjbTagsHandler.java,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** EjbTagsHandler.java 5 Feb 2005 21:42:29 -0000       1.26
--- EjbTagsHandler.java 18 Mar 2005 20:52:03 -0000      1.27
***************
*** 395,398 ****
--- 395,403 ----
      private static boolean isViewtypeEjb(XClass clazz, String viewtype) 
throws XDocletException
      {
+         // EJB 1.1 beans have only the remote view type
+         if (getEjbSpec().equals("1.1")) {
+             return "remote".equals(viewtype);
+         }
+ 
          String value = getTagValue(
              FOR_CLASS,



-------------------------------------------------------
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
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to