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);                 
     }
 


Reply via email to