User: mnf999  
  Date: 01/08/01 11:13:28

  Modified:    src/main/org/jboss/ejb Container.java
  Log:
  The bean lock is factorized by Bill Burke outside of the context.
  
  This enables a new design with Lock interceptor and pluggable lock policies
  
  Revision  Changes    Path
  1.51      +17 -1     jboss/src/main/org/jboss/ejb/Container.java
  
  Index: Container.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/Container.java,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -r1.50 -r1.51
  --- Container.java    2001/07/26 02:43:37     1.50
  +++ Container.java    2001/08/01 18:13:28     1.51
  @@ -61,7 +61,15 @@
    * @author <a href="mailto:[EMAIL PROTECTED]";>Rickard �berg</a>
    * @author <a href="mailto:[EMAIL PROTECTED]";>Marc Fleury</a>
    * @author <a href="mailto:[EMAIL PROTECTED]";>Scott Stark</a>.
  - * @version $Revision: 1.50 $
  + * @author <a href="[EMAIL PROTECTED]">Bill Burke</a>
  + * @version $Revision: 1.51 $
  + *
  + * <p><b>Revisions:</b>
  + *
  + * <p><b>2001/07/26 bill burke:</b>
  + * <ul>
  + * <li> Added BeanLockManager.
  + * </ul>
    */
   public abstract class Container
   {
  @@ -111,6 +119,9 @@
      /** The custom security proxy used by the SecurityInterceptor */
      protected Object securityProxy;
   
  +   /** This is the bean lock manager that is to be used */
  +   protected BeanLockManager lockManager = new BeanLockManager();
  +
      /** ??? */
      protected LocalContainerInvoker localContainerInvoker = 
         new BaseLocalContainerInvoker();
  @@ -166,6 +177,11 @@
      public EJBSecurityManager getSecurityManager()
      {
         return sm;
  +   }
  +
  +   public BeanLockManager getLockManager()
  +   {
  +      return lockManager;
      }
   
      public void setRealmMapping(RealmMapping rm)
  
  
  

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

Reply via email to