You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2013/06/05 15:27:02 UTC

[1/2] git commit: CAMEL-6426: Polished javadoc to be more accurate.

Updated Branches:
  refs/heads/camel-2.10.x ffd479d70 -> 7bfe9df6a
  refs/heads/master e8fdf3fde -> 71558f1ac


CAMEL-6426: Polished javadoc to be more accurate.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/71558f1a
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/71558f1a
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/71558f1a

Branch: refs/heads/master
Commit: 71558f1ac73aedbff94d16d0ba8ea92b441f0564
Parents: e8fdf3f
Author: Claus Ibsen <da...@apache.org>
Authored: Wed Jun 5 15:23:55 2013 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Wed Jun 5 15:23:55 2013 +0200

----------------------------------------------------------------------
 .../java/org/apache/camel/StartupListener.java     |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/71558f1a/camel-core/src/main/java/org/apache/camel/StartupListener.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/StartupListener.java b/camel-core/src/main/java/org/apache/camel/StartupListener.java
index da5daec..a797d44 100644
--- a/camel-core/src/main/java/org/apache/camel/StartupListener.java
+++ b/camel-core/src/main/java/org/apache/camel/StartupListener.java
@@ -17,12 +17,15 @@
 package org.apache.camel;
 
 /**
- * Allows objects to be notified when {@link CamelContext} has just been started.
+ * Allows objects to be notified when {@link CamelContext} has done all work when starting.
  * <p/>
- * This can be used to perform any custom work when the entire {@link CamelContext} has been initialized and started.
- * For example this ensures that all Camel routes have been started and are up and running, before this callback
+ * This can be used to perform any custom work when the entire {@link CamelContext} has been initialized and <b>almost</b>
+ * started. For example this ensures that all Camel routes have been started and are up and running, before this callback
  * is invoked.
  * <p/>
+ * The state of {@link CamelContext} may still be in <tt>starting</tt> when this callback is invoked, this is by design.
+ * The callback is invoked as the last step during all the processes that occur during starting {@link CamelContext}.
+ * <p/>
  * For example the QuartzComponent leverages this to ensure the Quartz scheduler does not start until after all the
  * Camel routes and services have already been started.
  *


[2/2] git commit: CAMEL-6426: Polished javadoc to be more accurate.

Posted by da...@apache.org.
CAMEL-6426: Polished javadoc to be more accurate.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/7bfe9df6
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/7bfe9df6
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/7bfe9df6

Branch: refs/heads/camel-2.10.x
Commit: 7bfe9df6adaa459527bac4b8d800224bfe76e650
Parents: ffd479d
Author: Claus Ibsen <da...@apache.org>
Authored: Wed Jun 5 15:23:55 2013 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Wed Jun 5 15:26:45 2013 +0200

----------------------------------------------------------------------
 .../java/org/apache/camel/StartupListener.java     |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/7bfe9df6/camel-core/src/main/java/org/apache/camel/StartupListener.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/StartupListener.java b/camel-core/src/main/java/org/apache/camel/StartupListener.java
index da5daec..a797d44 100644
--- a/camel-core/src/main/java/org/apache/camel/StartupListener.java
+++ b/camel-core/src/main/java/org/apache/camel/StartupListener.java
@@ -17,12 +17,15 @@
 package org.apache.camel;
 
 /**
- * Allows objects to be notified when {@link CamelContext} has just been started.
+ * Allows objects to be notified when {@link CamelContext} has done all work when starting.
  * <p/>
- * This can be used to perform any custom work when the entire {@link CamelContext} has been initialized and started.
- * For example this ensures that all Camel routes have been started and are up and running, before this callback
+ * This can be used to perform any custom work when the entire {@link CamelContext} has been initialized and <b>almost</b>
+ * started. For example this ensures that all Camel routes have been started and are up and running, before this callback
  * is invoked.
  * <p/>
+ * The state of {@link CamelContext} may still be in <tt>starting</tt> when this callback is invoked, this is by design.
+ * The callback is invoked as the last step during all the processes that occur during starting {@link CamelContext}.
+ * <p/>
  * For example the QuartzComponent leverages this to ensure the Quartz scheduler does not start until after all the
  * Camel routes and services have already been started.
  *