camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1441360 - /camel/branches/camel-2.10.x/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/BlueprintCamelContext.java
Date Fri, 01 Feb 2013 09:31:22 GMT
Author: davsclaus
Date: Fri Feb  1 09:31:22 2013
New Revision: 1441360

URL: http://svn.apache.org/viewvc?rev=1441360&view=rev
Log:
CAMEL-6023: Fixed compilation with OSGi 4.2.0

Modified:
    camel/branches/camel-2.10.x/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/BlueprintCamelContext.java

Modified: camel/branches/camel-2.10.x/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/BlueprintCamelContext.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.10.x/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/BlueprintCamelContext.java?rev=1441360&r1=1441359&r2=1441360&view=diff
==============================================================================
--- camel/branches/camel-2.10.x/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/BlueprintCamelContext.java
(original)
+++ camel/branches/camel-2.10.x/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/BlueprintCamelContext.java
Fri Feb  1 09:31:22 2013
@@ -41,7 +41,7 @@ public class BlueprintCamelContext exten
 
     private BundleContext bundleContext;
     private BlueprintContainer blueprintContainer;
-    private ServiceRegistration<?> registration;
+    private ServiceRegistration registration;
 
     public BlueprintCamelContext() {
     }
@@ -84,7 +84,7 @@ public class BlueprintCamelContext exten
         bundleContext.addServiceListener(this);
         // add blueprint listener as service, as we need this for the blueprint container
         // to support change events when it changes states
-        registration = bundleContext.registerService(BlueprintListener.class, this, null);
+        registration = bundleContext.registerService(BlueprintListener.class.getName(), this,
null);
     }
 
     public void destroy() throws Exception {



Mime
View raw message