camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/3] git commit: jar cache should clear when package scan resolver is stopped.
Date Thu, 16 Jan 2014 14:47:48 GMT
Updated Branches:
  refs/heads/camel-2.11.x 2305d8953 -> 365a40c3a
  refs/heads/camel-2.12.x 2ca19aff7 -> 511644098
  refs/heads/master da022c393 -> 45f38325c


jar cache should clear when package scan resolver is stopped.


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

Branch: refs/heads/master
Commit: 45f38325c9a62fe51d5c9665aad242ce265d4474
Parents: da022c3
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Thu Jan 16 15:51:20 2014 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Thu Jan 16 15:51:20 2014 +0100

----------------------------------------------------------------------
 .../org/apache/camel/impl/DefaultPackageScanClassResolver.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/45f38325/camel-core/src/main/java/org/apache/camel/impl/DefaultPackageScanClassResolver.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/impl/DefaultPackageScanClassResolver.java
b/camel-core/src/main/java/org/apache/camel/impl/DefaultPackageScanClassResolver.java
index db4e6c4..837d088 100644
--- a/camel-core/src/main/java/org/apache/camel/impl/DefaultPackageScanClassResolver.java
+++ b/camel-core/src/main/java/org/apache/camel/impl/DefaultPackageScanClassResolver.java
@@ -509,11 +509,11 @@ public class DefaultPackageScanClassResolver extends ServiceSupport
implements P
     }
 
     protected void doStart() throws Exception {
-        ServiceHelper.startService(jarCache);
+        // noop
     }
 
     protected void doStop() throws Exception {
-        ServiceHelper.stopService(jarCache);
+        jarCache.clear();
     }
 
 }


Mime
View raw message