Update of /cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/entity
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24678/modules/ejb/src/xdoclet/modules/ejb/entity
Modified Files:
EntityTagsHandler.java CmpTagsHandler.java BmpTagsHandler.java
Log Message:
added support for the havingClassTag attribute of the deploymentdescriptor
subtask (XDT-943)
Index: EntityTagsHandler.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/entity/EntityTagsHandler.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** EntityTagsHandler.java 29 Apr 2003 19:14:45 -0000 1.10
--- EntityTagsHandler.java 1 Mar 2005 22:48:03 -0000 1.11
***************
*** 123,126 ****
--- 123,130 ----
}
+ if (!hasHavingClassTag(getCurrentClass())) {
+ continue;
+ }
+
if (isEntity(getCurrentClass())) {
generate(template);
Index: CmpTagsHandler.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/entity/CmpTagsHandler.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** CmpTagsHandler.java 15 Jan 2005 01:11:39 -0000 1.16
--- CmpTagsHandler.java 1 Mar 2005 22:48:03 -0000 1.17
***************
*** 263,266 ****
--- 263,270 ----
}
+ if (!hasHavingClassTag(getCurrentClass())) {
+ continue;
+ }
+
if (isEntityCmp(getCurrentClass())) {
generate(template);
Index: BmpTagsHandler.java
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/entity/BmpTagsHandler.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** BmpTagsHandler.java 29 Apr 2003 19:14:41 -0000 1.7
--- BmpTagsHandler.java 1 Mar 2005 22:48:03 -0000 1.8
***************
*** 172,175 ****
--- 172,179 ----
}
+ if (!hasHavingClassTag(getCurrentClass())) {
+ continue;
+ }
+
if (isEntityBmp(XDocletTagSupport.getCurrentClass())) {
generate(template);
-------------------------------------------------------
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