User: user57  
  Date: 01/07/12 20:29:44

  Modified:    src/main/org/jboss/ejb LocalContainerInvoker.java
  Log:
   o cleaned up
  
  Revision  Changes    Path
  1.4       +51 -53    jboss/src/main/org/jboss/ejb/LocalContainerInvoker.java
  
  Index: LocalContainerInvoker.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/LocalContainerInvoker.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- LocalContainerInvoker.java        2001/06/18 20:01:21     1.3
  +++ LocalContainerInvoker.java        2001/07/13 03:29:44     1.4
  @@ -12,64 +12,62 @@
   import javax.ejb.EJBLocalObject;
   
   /**
  - *   This is an extension to the ContainerInvoker interface. Although some
  - *      implementations of the ContainerInvoker interface may provide access
  - *      to local interfaces, others (e.g. which provide remote distribution)
  - *      will not. Good example: the JRMP delegates do not need to implement
  - *      this interface.
  + * This is an extension to the ContainerInvoker interface. Although some
  + * implementations of the ContainerInvoker interface may provide access
  + * to local interfaces, others (e.g. which provide remote distribution)
  + * will not. Good example: the JRMP delegates do not need to implement
  + * this interface.
    *
  - *   @see ContainerInvoker
  - *   @author <a href="mailto:[EMAIL PROTECTED]";>Daniel OConnor</a>
  + * @see ContainerInvoker
  + * 
  + * @author <a href="mailto:[EMAIL PROTECTED]";>Daniel OConnor</a>
  + * @version $Revision: 1.4 $
    */
   public interface LocalContainerInvoker
      extends ContainerPlugin
   {
  -   // Public --------------------------------------------------------
  -
  -     /**
  -      *      This method is called whenever the EJBLocalHome implementation for this
  -      *      container is needed.
  -      *
  -      * @return     an implementation of the local home interface for this container
  -      */
  -   public EJBLocalHome getEJBLocalHome();
  -
  -        /**
  -      *      This method is called whenever an EJBLocalObject implementation for a 
stateless
  -      *      session bean is needed.
  -      *
  -      * @return     an implementation of the local interface for this container
  -      */
  -   public EJBLocalObject getStatelessSessionEJBLocalObject();
  -
  -     /**
  -      *      This method is called whenever an EJBLocalObject implementation for a 
stateful
  -      *      session bean is needed.
  -      *
  -      * @param   id  the id of the session
  -      * @return     an implementation of the local interface for this container
  -      */
  -   public EJBLocalObject getStatefulSessionEJBLocalObject(Object id);
  +   /**
  +    * This method is called whenever the EJBLocalHome implementation for this
  +    * container is needed.
  +    *
  +    * @return    an implementation of the local home interface for this
  +    *            container
  +    */
  +   EJBLocalHome getEJBLocalHome();
  +
  +   /**
  +    * This method is called whenever an EJBLocalObject implementation for a
  +    * stateless session bean is needed.
  +    *
  +    * @return    an implementation of the local interface for this container
  +    */
  +   EJBLocalObject getStatelessSessionEJBLocalObject();
  +
  +   /**
  +    * This method is called whenever an EJBLocalObject implementation for a
  +    * stateful session bean is needed.
  +    *
  +    * @param id    the id of the session
  +    * @return       an implementation of the local interface for this container
  +    */
  +   EJBLocalObject getStatefulSessionEJBLocalObject(Object id);
         
  -     /**
  -      *      This method is called whenever an EJBLocalObject implementation for an 
entitybean
  -      * is needed.
  -      *
  -      * @param   id  the primary key of the entity
  -      * @return     an implementation of the local interface for this container
  -      */
  -   public EJBLocalObject getEntityEJBLocalObject(Object id);
  -     /**
  -      *      This method is called whenever a collection of EJBLocalObjects for a 
collection of primary keys
  -      * is needed.
  -      *
  -      * @param   enum  enumeration of primary keys
  -      * @return     a collection of EJBLocalObjects implementing the remote 
interface for this container
  -      */
  -   public Collection getEntityLocalCollection(Collection enum);
  +   /**
  +    * This method is called whenever an EJBLocalObject implementation for an
  +    * entitybean is needed.
  +    *
  +    * @param id    the primary key of the entity
  +    * @return      an implementation of the local interface for this container
  +    */
  +   EJBLocalObject getEntityEJBLocalObject(Object id);
      
  +   /**
  +    * This method is called whenever a collection of EJBLocalObjects for a
  +    * collection of primary keys is needed.
  +    *
  +    * @param enum    enumeration of primary keys
  +    * @return        a collection of EJBLocalObjects implementing the remote
  +    *                interface for this container
  +    */
  +   Collection getEntityLocalCollection(Collection enum);
   }
  -
  -
  -
  -
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to