geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject cvs commit: incubator-geronimo/modules/remoting/src/java/org/apache/geronimo/remoting/router JMXRouter.java
Date Wed, 08 Sep 2004 12:26:23 GMT
adc         2004/09/08 05:26:23

  Modified:    modules/remoting/src/java/org/apache/geronimo/remoting/router
                        JMXRouter.java
  Log:
  Added sime information logging.
  
  Revision  Changes    Path
  1.13      +7 -1      incubator-geronimo/modules/remoting/src/java/org/apache/geronimo/remoting/router/JMXRouter.java
  
  Index: JMXRouter.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/remoting/src/java/org/apache/geronimo/remoting/router/JMXRouter.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- JMXRouter.java	4 Jun 2004 22:31:56 -0000	1.12
  +++ JMXRouter.java	8 Sep 2004 12:26:23 -0000	1.13
  @@ -22,6 +22,9 @@
   import java.util.Map;
   import javax.management.ObjectName;
   
  +import org.apache.commons.logging.LogFactory;
  +import org.apache.commons.logging.Log;
  +
   import org.apache.geronimo.core.service.Interceptor;
   import org.apache.geronimo.gbean.GBeanInfo;
   import org.apache.geronimo.gbean.GBeanInfoFactory;
  @@ -38,6 +41,7 @@
    * @version $Revision$ $Date$
    */
   public class JMXRouter extends AbstractInterceptorRouter {
  +    private static final Log log = LogFactory.getLog(JMXRouter.class);
       private SubsystemRouter subsystemRouter;
       private Map registered = new HashMap();
   
  @@ -69,11 +73,13 @@
       public void doStart() {
           subsystemRouter.addRoute("/JMX", this);
           super.doStart();
  +        log.info("Started JMX Router");
       }
   
       public void doStop() {
           super.doStop();
           subsystemRouter.removeRoute("/JMX");
  +        log.info("Stopped JMX Router");
       }
   
       public static final GBeanInfo GBEAN_INFO;
  
  
  

Mime
View raw message