CAMEL-6835 Polish the javadoc of CamelBlueprintTestSupport as Claus suggested
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/b1a7eafe Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/b1a7eafe Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/b1a7eafe Branch: refs/heads/camel-2.11.x Commit: b1a7eafe925b3dc3ff01b7feefdfe0fd971405a8 Parents: 2ebe220 Author: Willem Jiang <ningji...@apache.org> Authored: Tue Oct 8 14:54:21 2013 +0800 Committer: Willem Jiang <ningji...@apache.org> Committed: Tue Oct 8 15:03:57 2013 +0800 ---------------------------------------------------------------------- .../camel/test/blueprint/CamelBlueprintTestSupport.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/b1a7eafe/components/camel-test-blueprint/src/main/java/org/apache/camel/test/blueprint/CamelBlueprintTestSupport.java ---------------------------------------------------------------------- diff --git a/components/camel-test-blueprint/src/main/java/org/apache/camel/test/blueprint/CamelBlueprintTestSupport.java b/components/camel-test-blueprint/src/main/java/org/apache/camel/test/blueprint/CamelBlueprintTestSupport.java index b3dff16..b744643 100644 --- a/components/camel-test-blueprint/src/main/java/org/apache/camel/test/blueprint/CamelBlueprintTestSupport.java +++ b/components/camel-test-blueprint/src/main/java/org/apache/camel/test/blueprint/CamelBlueprintTestSupport.java @@ -50,8 +50,13 @@ public abstract class CamelBlueprintTestSupport extends CamelTestSupport { private volatile BundleContext bundleContext; private final Set<ServiceRegistration<?>> services = new LinkedHashSet<ServiceRegistration<?>>(); - // CamelBlueprintTestSupport creates the test bundle which includes blueprint configuration files if the value is true - // You can override the return value to false if you already has the test bundle in your class path + /** + * Override this method if you don't want CamelBlueprintTestSupport create the test bundle + * @return includeTestBundle + * If the return value is true CamelBlueprintTestSupport creates the test bundle which includes blueprint configuration files + * If the return value is false CamelBlueprintTestSupport won't create the test bundle + * + */ protected boolean includeTestBundle() { return true; }