camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r962488 - /camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/spi/SpringInjector.java
Date Fri, 09 Jul 2010 11:50:24 GMT
Author: jstrachan
Date: Fri Jul  9 11:50:24 2010
New Revision: 962488

URL: http://svn.apache.org/viewvc?rev=962488&view=rev
Log:
expose the application context, so from a CamelContext you can find the ApplicationContext
if you need it

Modified:
    camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/spi/SpringInjector.java

Modified: camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/spi/SpringInjector.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/spi/SpringInjector.java?rev=962488&r1=962487&r2=962488&view=diff
==============================================================================
--- camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/spi/SpringInjector.java
(original)
+++ camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/spi/SpringInjector.java
Fri Jul  9 11:50:24 2010
@@ -65,4 +65,9 @@ public class SpringInjector implements I
     public void setDependencyCheck(boolean dependencyCheck) {
         this.dependencyCheck = dependencyCheck;
     }
+
+
+    public ConfigurableApplicationContext getApplicationContext() {
+        return applicationContext;
+    }
 }



Mime
View raw message