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/security/src/java/org/apache/geronimo/security/remoting/jmx LoginServiceStub.java
Date Wed, 08 Sep 2004 12:29:37 GMT
adc         2004/09/08 05:29:37

  Modified:    modules/security/src/java/org/apache/geronimo/security/remoting/jmx
                        LoginServiceStub.java
  Log:
  Added some information logging.
  
  Revision  Changes    Path
  1.7       +9 -1      incubator-geronimo/modules/security/src/java/org/apache/geronimo/security/remoting/jmx/LoginServiceStub.java
  
  Index: LoginServiceStub.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/security/src/java/org/apache/geronimo/security/remoting/jmx/LoginServiceStub.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- LoginServiceStub.java	5 Jun 2004 07:53:22 -0000	1.6
  +++ LoginServiceStub.java	8 Sep 2004 12:29:37 -0000	1.7
  @@ -19,6 +19,9 @@
   
   import javax.management.ObjectName;
   
  +import org.apache.commons.logging.Log;
  +import org.apache.commons.logging.LogFactory;
  +
   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 LoginServiceStub implements GBeanLifecycle, JMXTarget {
  +    private static final Log log = LogFactory.getLog(LoginServiceStub.class);
       private final Kernel kernel;
       private final ObjectName objectName;
       private ProxyContainer serverContainer;
  @@ -71,6 +75,8 @@
           Interceptor firstInterceptor = new ReflexiveInterceptor(loginService);
           demarshaller = new DeMarshalingInterceptor(firstInterceptor, getClass().getClassLoader());
           serverContainer = new ProxyContainer(firstInterceptor);
  +
  +        log.info("Started login service stub");
       }
   
       public void doStop() {
  @@ -78,11 +84,13 @@
   
           serverContainer = null;
           demarshaller = null;
  +        log.info("Stopped login service stub");
       }
   
       public void doFail() {
           serverContainer = null;
           demarshaller = null;
  +        log.info("Failed login service stub");
       }
   
       public static final GBeanInfo GBEAN_INFO;
  
  
  

Mime
View raw message