geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgenen...@apache.org
Subject svn commit: r344187 - /geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/cluster/ClusterDeployerGBean.java
Date Mon, 14 Nov 2005 19:50:33 GMT
Author: jgenender
Date: Mon Nov 14 11:50:19 2005
New Revision: 344187

URL: http://svn.apache.org/viewcvs?rev=344187&view=rev
Log:
Tidy up some small bugs

Modified:
    geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/cluster/ClusterDeployerGBean.java

Modified: geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/cluster/ClusterDeployerGBean.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/cluster/ClusterDeployerGBean.java?rev=344187&r1=344186&r2=344187&view=diff
==============================================================================
--- geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/cluster/ClusterDeployerGBean.java
(original)
+++ geronimo/trunk/modules/tomcat/src/java/org/apache/geronimo/tomcat/cluster/ClusterDeployerGBean.java
Mon Nov 14 11:50:19 2005
@@ -26,16 +26,16 @@
 import org.apache.geronimo.gbean.GBeanLifecycle;
 import org.apache.geronimo.tomcat.BaseGBean;
 import org.apache.geronimo.tomcat.ObjectRetriever;
+import org.apache.geronimo.system.serverinfo.ServerInfo;
 
-public class ClusterDeployerGBean  extends BaseGBean implements
-        GBeanLifecycle, ObjectRetriever {
+public class ClusterDeployerGBean  extends BaseGBean implements GBeanLifecycle, ObjectRetriever
{
 
     private static final Log log = LogFactory
-            .getLog(MembershipServiceGBean.class);
+            .getLog(ClusterDeployerGBean.class);
 
-    public static final String J2EE_TYPE = "MembershipService";
+    public static final String J2EE_TYPE = "ClusterDeployer";
 
-    private final ClusterDeployer deployer;
+    protected final ClusterDeployer deployer;
 
     public ClusterDeployerGBean(String className, Map initParams) throws Exception {
 
@@ -60,15 +60,15 @@
     }
 
     public void doFail() {
-        log.info("Failed");
+        log.info("Failed: "+ deployer.getClass().getName());
     }
 
     public void doStart() throws Exception {
-        log.info("Started ClusterDeployer gbean.");
+        log.info("Started "+ deployer.getClass().getName() +" gbean.");
     }
 
     public void doStop() throws Exception {
-        log.info("Stopped ClusterDeployer gbean.");
+        log.info("Stopped " + deployer.getClass().getName() + " gbean.");
     }
 
     public static final GBeanInfo GBEAN_INFO;



Mime
View raw message