User: andreas 
  Date: 00/12/07 10:16:10

  Modified:    src/main/org/jboss/ejb/plugins
                        EnterpriseContextCachePolicy.java
                        LogInterceptor.java
  Log:
  Changes to ServiceMBean therefore that if the Default-
  Log class is not available then it does not logging.
  Thus I could extract the JMX Connector (server-side)
  from jBoss therefore that it can be used elsewhere.
  Both (server- and client-side) connector archives are then
  put in the new directory external which should keep all
  archives developed under jBoss but available to other
  groups.
  
  Revision  Changes    Path
  1.3       +4 -2      
jboss/src/main/org/jboss/ejb/plugins/EnterpriseContextCachePolicy.java
  
  Index: EnterpriseContextCachePolicy.java
  ===================================================================
  RCS file: 
/products/cvs/ejboss/jboss/src/main/org/jboss/ejb/plugins/EnterpriseContextCachePolicy.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- EnterpriseContextCachePolicy.java 2000/12/07 15:44:23     1.2
  +++ EnterpriseContextCachePolicy.java 2000/12/07 18:16:09     1.3
  @@ -7,6 +7,7 @@
   package org.jboss.ejb.plugins;
   
   import org.jboss.logging.Log;
  +import org.jboss.logging.DefaultLog;
   import org.jboss.util.TimerQueue;
   import org.jboss.util.TimerTask;
   import org.jboss.util.CachePolicy;
  @@ -18,14 +19,14 @@
    * 
    * @see EnterpriseInstanceCache
    * @author Simone Bordet ([EMAIL PROTECTED])
  - * @version $Revision: 1.2 $
  + * @version $Revision: 1.3 $
    */
   public interface EnterpriseContextCachePolicy extends CachePolicy
   {
        // Constants -----------------------------------------------------
   
        // Static --------------------------------------------------------
  -     public static Log log = new Log("Bean Cache");
  +     public static Log log = Log.createLog("Bean Cache");
        public static Scheduler scheduler = new Scheduler();
        
        // Public --------------------------------------------------------
  @@ -66,3 +67,4 @@
                }
        }
   }
  +
  
  
  
  1.14      +3 -2      jboss/src/main/org/jboss/ejb/plugins/LogInterceptor.java
  
  Index: LogInterceptor.java
  ===================================================================
  RCS file: 
/products/cvs/ejboss/jboss/src/main/org/jboss/ejb/plugins/LogInterceptor.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- LogInterceptor.java       2000/12/07 15:44:24     1.13
  +++ LogInterceptor.java       2000/12/07 18:16:09     1.14
  @@ -36,7 +36,7 @@
    *      
    *   @see <related>
    *   @author Rickard �berg ([EMAIL PROTECTED])
  - *   @version $Revision: 1.13 $
  + *   @version $Revision: 1.14 $
    */
   public class LogInterceptor
      extends AbstractInterceptor
  @@ -76,7 +76,7 @@
         // Should we log all calls?
         callLogging = 
getContainer().getBeanMetaData().getContainerConfiguration().getCallLogging();
           
  -      log = new Log(name);
  +      log = Log.createLog(name);
      }
      
      public Object invokeHome(MethodInvocation mi)
  @@ -247,4 +247,5 @@
      
      // Private -------------------------------------------------------
   }
  +
   
  
  
  

Reply via email to