CVS: xdoclet/modules/bea/src/xdoclet/modules/bea/wls/ejb WebLogicSubTask.java,1.29,1.30

René Zanner <[email protected]>
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <[email protected]>
Update of /cvsroot/xdoclet/xdoclet/modules/bea/src/xdoclet/modules/bea/wls/ejb
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24987/xdoclet/modules/bea/src/xdoclet/modules/bea/wls/ejb

Modified Files:
	WebLogicSubTask.java 
Log Message:
extracted Version class for re-use in web package

Index: WebLogicSubTask.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/modules/bea/src/xdoclet/modules/bea/wls/ejb/WebLogicSubTask.java,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -r1.29 -r1.30
*** WebLogicSubTask.java	11 Apr 2005 21:28:42 -0000	1.29
--- WebLogicSubTask.java	19 Aug 2005 10:53:26 -0000	1.30
***************
*** 11,14 ****
--- 11,15 ----
  import xdoclet.XDocletException;
  import xdoclet.XDocletMessages;
+ import xdoclet.modules.bea.wls.Version;
  import xdoclet.modules.ejb.EjbDocletTask.EjbSpecVersion;
  import xdoclet.modules.ejb.XDocletModulesEjbMessages;
***************
*** 36,40 ****
   *      XML unparsed entity containing security-role-assignment elements."
   * @xdoclet.merge-file   file="weblogic-run-as-role-assignment.xml" relates-to="weblogic-ejb-jar.xml" description="An
!  *      XML unparsed entity containing run-as-role-assignment elements." * 
   */
  public class WebLogicSubTask extends AbstractEjbDeploymentDescriptorSubTask
--- 37,41 ----
   *      XML unparsed entity containing security-role-assignment elements."
   * @xdoclet.merge-file   file="weblogic-run-as-role-assignment.xml" relates-to="weblogic-ejb-jar.xml" description="An
!  *      XML unparsed entity containing run-as-role-assignment elements." *
   */
  public class WebLogicSubTask extends AbstractEjbDeploymentDescriptorSubTask
***************
*** 239,242 ****
--- 240,253 ----
      }
  
+     /**
+      * This flag is used for EJB container to delay all of the database operations in a transaction until the commit
+      * time, automatically sort the database dependency between the operations, and send these operations to database in
+      * such a way to avoid any database constrain errors. (Such as FK constrain). To turn off order-database-operations,
+      * both order-database-operations and enable-batch-operations has to set to "false". Valid values are "true",
+      * "True", "false" or "False" Used in: weblogic-rdbms-jar Since: WLS 8.1
+      *
+      * @param flag
+      * @ant.not-required   No. Default is "true"
+      */
      public void setOrderDatabaseOperations(boolean flag)
      {
***************
*** 244,247 ****
--- 255,267 ----
      }
  
+     /**
+      * This flag is used for EJB container to perform batch operations. If this tag is set to true, the
+      * order-database-operations will be set to true automatically, and EJB container will delay all of the database
+      * operations in a transaction until the commit time. Valid values are "true", "True", "false" or "False" Used in:
+      * weblogic-rdbms-jar Since: WLS 8.1
+      *
+      * @param flag
+      * @ant.not-required   No. Default is "true"
+      */
      public void setEnableBatchOperations(boolean flag)
      {
***************
*** 249,252 ****
--- 269,279 ----
      }
  
+     /**
+      * This allows the EJB implementation class to be redeployed without redeploying the entire EJB module. Used in:
+      * weblogic-ejb-jar Since: WLS 8.1
+      *
+      * @param flag
+      * @ant.not-required   No. Default is "false"
+      */
      public void setEnableBeanClassRedeploy(boolean flag)
      {
***************
*** 527,558 ****
  
      /**
-      * Supported WLS versions.
-      *
-      * @created   17. juni 2002
-      */
-     public static class Version extends org.apache.tools.ant.types.EnumeratedAttribute
-     {
-         public final static String VERSION_6_0 = "6.0";
-         public final static String VERSION_6_1 = "6.1";
-         // Have to add support for x.x.x version numbers in ConfigTagsHandler
-         //public final static String VERSION_6_1_2 = "6.1.2";
-         // NOT FULLY SUPPORTED YET
-         public final static String VERSION_7_0 = "7.0";
-         public final static String VERSION_8_1 = "8.1";
- 
-         /**
-          * Gets the Values attribute of the Version object
-          *
-          * @return   The Values value
-          */
-         public java.lang.String[] getValues()
-         {
-             return (new java.lang.String[]{
-                 VERSION_6_0, VERSION_6_1, VERSION_7_0, VERSION_8_1
-                 });
-         }
-     }
- 
-     /**
       * @created   30 july 2004
       */
--- 554,557 ----



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.