cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject svn commit: r730760 - /cxf/sandbox/dosgi/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/Activator.java
Date Fri, 02 Jan 2009 15:43:26 GMT
Author: davidb
Date: Fri Jan  2 07:43:26 2009
New Revision: 730760

URL: http://svn.apache.org/viewvc?rev=730760&view=rev
Log:
Disabling the fast infoset usage DOSGi until we get it to work in OSGi.

Modified:
    cxf/sandbox/dosgi/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/Activator.java

Modified: cxf/sandbox/dosgi/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/Activator.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/dosgi/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/Activator.java?rev=730760&r1=730759&r2=730760&view=diff
==============================================================================
--- cxf/sandbox/dosgi/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/Activator.java (original)
+++ cxf/sandbox/dosgi/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/Activator.java Fri
Jan  2 07:43:26 2009
@@ -55,6 +55,9 @@
     CxfDistributionProvider dpService;
     
     public void start(BundleContext context) {
+        // Disable the fast infoset as it's not compatible (yet) with OSGi
+        System.setProperty("org.apache.cxf.nofastinfoset", "true");
+        
         bc = context; 
         // should we have a seperate PID for a find and publish hook ? 
         context.registerService(ManagedService.class.getName(), 
@@ -64,8 +67,7 @@
 
         pHook = new CxfPublishHook(context, dpService);
         lHook = new CxfListenerHook(context, dpService);
-        context.registerService(ListenerHook.class.getName(), lHook, new Hashtable());
-        
+        context.registerService(ListenerHook.class.getName(), lHook, new Hashtable());  
     
         context.addServiceListener(this);                 
     }
 



Mime
View raw message