[jboss-cvs] JBossAS SVN: r109211 - in projects/specs/trunk/jboss-ejb-api_3.1_spec/src/main/java/javax/ejb: spi and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Nov 9 12:25:15 EST 2010


Author: jaikiran
Date: 2010-11-09 12:25:15 -0500 (Tue, 09 Nov 2010)
New Revision: 109211

Modified:
   projects/specs/trunk/jboss-ejb-api_3.1_spec/src/main/java/javax/ejb/CreateException.java
   projects/specs/trunk/jboss-ejb-api_3.1_spec/src/main/java/javax/ejb/spi/EJBContainerProvider.java
Log:
JBEE-66 (1)Fixed the serialVersionUID for CreateException (2) Fixed the javadoc for EJBContainerProvider.createEJBContainer

Modified: projects/specs/trunk/jboss-ejb-api_3.1_spec/src/main/java/javax/ejb/CreateException.java
===================================================================
--- projects/specs/trunk/jboss-ejb-api_3.1_spec/src/main/java/javax/ejb/CreateException.java	2010-11-09 14:12:37 UTC (rev 109210)
+++ projects/specs/trunk/jboss-ejb-api_3.1_spec/src/main/java/javax/ejb/CreateException.java	2010-11-09 17:25:15 UTC (rev 109211)
@@ -24,13 +24,19 @@
  * to report a failure to create an entity EJB object. </P>
  */
 public class CreateException extends Exception {
+   
+  /**
+    * 
+    */
+   private static final long serialVersionUID = 6295951740865457514L;
 
-  /**
+   /**
    * Constructs an CreateException with no detail message. 
    */
-  public CreateException() {
-    super();
-  }
+   public CreateException()
+   {
+      super();
+   }
 
   /**
    * Constructs an CreateException with the specified detail message.

Modified: projects/specs/trunk/jboss-ejb-api_3.1_spec/src/main/java/javax/ejb/spi/EJBContainerProvider.java
===================================================================
--- projects/specs/trunk/jboss-ejb-api_3.1_spec/src/main/java/javax/ejb/spi/EJBContainerProvider.java	2010-11-09 14:12:37 UTC (rev 109210)
+++ projects/specs/trunk/jboss-ejb-api_3.1_spec/src/main/java/javax/ejb/spi/EJBContainerProvider.java	2010-11-09 17:25:15 UTC (rev 109211)
@@ -36,9 +36,12 @@
    /**
     * Called by the embeddable container bootstrap process to find a suitable embeddable container
     * implementation. An embeddable container provider may deem itself as appropriate for the
-    * embeddable application if any of the following are true : The javax.ejb.embeddable.initial
-    * property was included in the Map passed to createEJBContainer and the value of the property is
-    * the provider's implementation class. No javax.ejb.embeddable.initial property was specified.
+    * embeddable application if any of the following are true : 
+    * <ul>
+    * <li>The <code>javax.ejb.embeddable.provider</code> property was included in the Map passed to <code>createEJBContainer</code>
+    *  and the value of the property is the provider's implementation class.</li>
+    *  <li> No <code>javax.ejb.embeddable.provider</code> property was specified.</li>
+    *  </ul>
     * If a provider does not qualify as the provider for the embeddable application, it must return null.
     * 
     * @param properties



More information about the jboss-cvs-commits mailing list