Update of /cvsroot/xdoclet/xdoclet/modules/jboss/src/xdoclet/modules/jboss/ejb
In directory sc8-pr-cvs1:/tmp/cvs-serv2227/src/xdoclet/modules/jboss/ejb

Modified Files:
        JBossSubTask.java 
Log Message:
- fix for XDT-140 (createtables for JBoss)
- added two attributes to the <jboss> sub-task: 'createtable' and 'removetable'; they 
set the <create-table>/<remove-table> elements of the <defaults> element in the 
jbosscmp-jdbc.xml file


Index: JBossSubTask.java
===================================================================
RCS file: 
/cvsroot/xdoclet/xdoclet/modules/jboss/src/xdoclet/modules/jboss/ejb/JBossSubTask.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** JBossSubTask.java   6 Nov 2002 15:51:13 -0000       1.18
--- JBossSubTask.java   13 Dec 2002 21:53:09 -0000      1.19
***************
*** 82,85 ****
--- 82,89 ----
      private String  preferredRelationMapping;
  
+     private String  createTable;
+ 
+     private String  removeTable;
+ 
      private String  securityDomain = "";
  
***************
*** 215,218 ****
--- 219,242 ----
  
      /**
+      * Gets the createTable attribute of the JBossSubTask object.
+      *
+      * @return   The createTable value
+      */
+     public String getCreateTable()
+     {
+         return createTable;
+     }
+ 
+     /**
+      * Gets the createTable attribute of the JBossSubTask object.
+      *
+      * @return   The removeTable value
+      */
+     public String getRemoveTable()
+     {
+         return removeTable;
+     }
+ 
+     /**
       * Sets the name of the jboss.xml template file.
       *
***************
*** 325,328 ****
--- 349,368 ----
      {
          this.preferredRelationMapping = preferredRelationMapping;
+     }
+ 
+     /**
+      * @param createTable
+      */
+     public void setCreateTable(String createTable)
+     {
+         this.createTable = createTable;
+     }
+ 
+     /**
+      * @param removeTable
+      */
+     public void setRemoveTable(String removeTable)
+     {
+         this.removeTable = removeTable;
      }
  



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to