camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r761583 - /camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ServiceSupport.java
Date Fri, 03 Apr 2009 09:37:59 GMT
Author: ningjiang
Date: Fri Apr  3 09:37:59 2009
New Revision: 761583

URL: http://svn.apache.org/viewvc?rev=761583&view=rev
Log:
CAMEL-1515 added isStratingFinished() method into ServiceSupport class, and it will fix the
recent build errors

Modified:
    camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ServiceSupport.java

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ServiceSupport.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ServiceSupport.java?rev=761583&r1=761582&r2=761583&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ServiceSupport.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ServiceSupport.java Fri Apr
 3 09:37:59 2009
@@ -90,10 +90,18 @@
     }
     
     /**
+     * @return true if this service is finished starting process
+     */
+    public boolean isFinishedStarting() {
+        return started.get() && !starting.get();
+    }
+    
+    
+    /**
      * @return true if this service has been started
      */
     public boolean isStarted() {
-        return started.get() && !starting.get();
+        return started.get();
     }
 
     /**



Mime
View raw message