You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2009/04/03 11:37:59 UTC
svn commit: r761583 -
/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/ServiceSupport.java
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();
}
/**