[jboss-cvs] JBossAS SVN: r100880 - projects/ejb3/components/sessionmanager/trunk/api/src/main/java/org/jboss/ejb3/sessionmanager/api.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Feb 11 11:17:47 EST 2010


Author: ALRubinger
Date: 2010-02-11 11:17:47 -0500 (Thu, 11 Feb 2010)
New Revision: 100880

Modified:
   projects/ejb3/components/sessionmanager/trunk/api/src/main/java/org/jboss/ejb3/sessionmanager/api/SessionManager.java
Log:
[EJBTHREE-2011] Massage the API and add some more JavaDoc

Modified: projects/ejb3/components/sessionmanager/trunk/api/src/main/java/org/jboss/ejb3/sessionmanager/api/SessionManager.java
===================================================================
--- projects/ejb3/components/sessionmanager/trunk/api/src/main/java/org/jboss/ejb3/sessionmanager/api/SessionManager.java	2010-02-11 16:08:55 UTC (rev 100879)
+++ projects/ejb3/components/sessionmanager/trunk/api/src/main/java/org/jboss/ejb3/sessionmanager/api/SessionManager.java	2010-02-11 16:17:47 UTC (rev 100880)
@@ -28,6 +28,9 @@
  * JBoss-specific extension allowing creation and 
  * destruction of Stateful Session Beans.  {@link SessionManager}
  * instances are specific to a target EJB. 
+ * 
+ * The {@link SessionManager} is obtained via a {@link SessionManagerFactory},
+ * typically bound into JNDI or injected into an EJB.
  *
  * @param <T> Business interface exposed by the Stateful Session Bean
  * @author <a href="mailto:andrew.rubinger at jboss.org">ALR</a>
@@ -48,14 +51,12 @@
     * will not time out or be removed, thus can be used to reliably create
     * new sessions as needed.
     * 
-    * @param beanInterface The business interface for which
-    * we should have a new Session  
     * @return A proxy reference to a new session for the target EJB
     * @throws IllegalArgumentException If the specified bean interface
     * is not a valid business interface for the EJB to which this
     * {@link SessionManager} is linked
     */
-   T create(Class<T> beanInterface) throws IllegalArgumentException;
+   T create() throws IllegalArgumentException;
 
    /**
     * Determines if the session represented by the specified proxy is 




More information about the jboss-cvs-commits mailing list