[weld-commits] Weld SVN: r6019 - api/trunk/weld-spi/src/main/java/org/jboss/weld/ejb/api.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Tue Mar 9 12:19:49 EST 2010


Author: pete.muir at jboss.org
Date: 2010-03-09 12:19:49 -0500 (Tue, 09 Mar 2010)
New Revision: 6019

Modified:
   api/trunk/weld-spi/src/main/java/org/jboss/weld/ejb/api/SessionObjectReference.java
Log:
clarify when isRemoved is true

Modified: api/trunk/weld-spi/src/main/java/org/jboss/weld/ejb/api/SessionObjectReference.java
===================================================================
--- api/trunk/weld-spi/src/main/java/org/jboss/weld/ejb/api/SessionObjectReference.java	2010-03-09 11:25:42 UTC (rev 6018)
+++ api/trunk/weld-spi/src/main/java/org/jboss/weld/ejb/api/SessionObjectReference.java	2010-03-09 17:19:49 UTC (rev 6019)
@@ -52,8 +52,11 @@
    public void remove();
    
    /**
-    * Determine whether the session object has been removed
+    * Determine whether the session object has been removed.
     * 
+    * If the session object has yet to be referenced by {@link #getBusinessObject(Class)}
+    * then this method should not return true.
+    * 
     * @return true if the session object has been removed
     */
    public boolean isRemoved();



More information about the weld-commits mailing list