geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vamsic...@apache.org
Subject svn commit: r475349 - /geronimo/server/branches/1.1/modules/kernel/src/java/org/apache/geronimo/gbean/runtime/GBeanSingleReference.java
Date Wed, 15 Nov 2006 18:37:40 GMT
Author: vamsic007
Date: Wed Nov 15 10:37:40 2006
New Revision: 475349

URL: http://svn.apache.org/viewvc?view=rev&rev=475349
Log:
GERONIMO-2386 Cleanup debug log entries created during server startup

Modified:
    geronimo/server/branches/1.1/modules/kernel/src/java/org/apache/geronimo/gbean/runtime/GBeanSingleReference.java

Modified: geronimo/server/branches/1.1/modules/kernel/src/java/org/apache/geronimo/gbean/runtime/GBeanSingleReference.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/1.1/modules/kernel/src/java/org/apache/geronimo/gbean/runtime/GBeanSingleReference.java?view=diff&rev=475349&r1=475348&r2=475349
==============================================================================
--- geronimo/server/branches/1.1/modules/kernel/src/java/org/apache/geronimo/gbean/runtime/GBeanSingleReference.java
(original)
+++ geronimo/server/branches/1.1/modules/kernel/src/java/org/apache/geronimo/gbean/runtime/GBeanSingleReference.java
Wed Nov 15 10:37:40 2006
@@ -27,7 +27,7 @@
 import org.apache.geronimo.kernel.GBeanNotFoundException;
 
 /**
- * @version $Rev: 384141 $ $Date$
+ * @version $Rev$ $Date$
  */
 public class GBeanSingleReference extends AbstractGBeanReference {
     private static final Log log = LogFactory.getLog(GBeanSingleReference.class);
@@ -77,11 +77,13 @@
             } catch (GBeanNotFoundException e) {
                 // gbean disappeard on us
                 log.debug("Waiting to start " + abstractName + " because no targets are running
for reference " + getName() +" matching the patterns " + targetName);
+                return false;
             }
         } else {
             setProxy(getKernel().getProxyManager().createProxy(targetName, getReferenceType()));
         }
 
+        log.debug("Started " + abstractName);
         return true;
     }
 



Mime
View raw message