[webbeans-commits] Webbeans SVN: r2929 - in ri/trunk/spi/src/main/java/org/jboss/webbeans: ejb/spi and 1 other directory.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Mon Jun 29 10:26:06 EDT 2009


Author: pete.muir at jboss.org
Date: 2009-06-29 10:26:05 -0400 (Mon, 29 Jun 2009)
New Revision: 2929

Modified:
   ri/trunk/spi/src/main/java/org/jboss/webbeans/bootstrap/spi/BeanDeploymentArchive.java
   ri/trunk/spi/src/main/java/org/jboss/webbeans/ejb/spi/EJBModule.java
Log:
Javadoc

Modified: ri/trunk/spi/src/main/java/org/jboss/webbeans/bootstrap/spi/BeanDeploymentArchive.java
===================================================================
--- ri/trunk/spi/src/main/java/org/jboss/webbeans/bootstrap/spi/BeanDeploymentArchive.java	2009-06-29 14:16:46 UTC (rev 2928)
+++ ri/trunk/spi/src/main/java/org/jboss/webbeans/bootstrap/spi/BeanDeploymentArchive.java	2009-06-29 14:26:05 UTC (rev 2929)
@@ -19,6 +19,8 @@
 import java.net.URL;
 import java.util.List;
 
+import org.jboss.webbeans.ejb.spi.EJBModule;
+
 /**
  * Represents a CDI bean deployment archive.
  * 
@@ -33,8 +35,11 @@
  * For an application deployed as a war, all library jars and the
  * WEB-INF/classes directory should be searched.
  * 
- * @see
+ * The container is allowed to specify archives as {@link BeanDeploymentArchive}
+ * even if no beans.xml is present.
  * 
+ * @see EJBModule
+ * 
  * @author Pete Muir
  * 
  */
@@ -54,14 +59,15 @@
    /**
     * Gets all classes in the bean deployment archive
     * 
-    * @return an iteration over the classes
+    * @return an iteration over the classes, empty if no classes are present
     */
    public Iterable<Class<?>> getBeanClasses();
 
    /**
     * Get the deployment descriptor
     * 
-    * @return a URL pointing to the deployment descriptor
+    * @return a URL pointing to the deployment descriptor, or null if it is not
+    *         present
     */
    public URL getBeansXml();
 

Modified: ri/trunk/spi/src/main/java/org/jboss/webbeans/ejb/spi/EJBModule.java
===================================================================
--- ri/trunk/spi/src/main/java/org/jboss/webbeans/ejb/spi/EJBModule.java	2009-06-29 14:16:46 UTC (rev 2928)
+++ ri/trunk/spi/src/main/java/org/jboss/webbeans/ejb/spi/EJBModule.java	2009-06-29 14:26:05 UTC (rev 2929)
@@ -35,7 +35,7 @@
    /**
     * Get all the EJBs in the deployment archive 
     * 
-    * @return
+    * @return an iteration of the EJBs, or empty if no EJBs are present
     */
    public Iterable<EjbDescriptor<?>> getEjbs();
 




More information about the weld-commits mailing list