Author: cschneider
Date: Tue May 14 15:10:10 2013
New Revision: 1482373

URL: http://svn.apache.org/r1482373
Log:
Fix typo in variable name and documentation on cxf-dsw configs

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

Modified: 
cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/Activator.java
URL: 
http://svn.apache.org/viewvc/cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/Activator.java?rev=1482373&r1=1482372&r2=1482373&view=diff
==============================================================================
--- 
cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/Activator.java
 (original)
+++ 
cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/Activator.java
 Tue May 14 15:10:10 2013
@@ -70,13 +70,13 @@ public class Activator implements Manage
 
     private synchronized void init(Map<String, Object> config) {
         String httpBase = (String) 
config.get(org.apache.cxf.dosgi.dsw.Constants.HTTP_BASE);
-        String cxfServletAlisas = (String) 
config.get(org.apache.cxf.dosgi.dsw.Constants.CXF_SERVLET_ALIAS);
+        String cxfServletAlias = (String) 
config.get(org.apache.cxf.dosgi.dsw.Constants.CXF_SERVLET_ALIAS);
 
         IntentMap intentMap = new IntentMap(new 
DefaultIntentMapFactory().create());
         intentTracker = new IntentTracker(bc, intentMap);
         intentTracker.open();
         IntentManager intentManager = new IntentManagerImpl(intentMap, 
DEFAULT_INTENT_TIMEOUT);
-        HttpServiceManager httpServiceManager = new HttpServiceManager(bc, 
httpBase, cxfServletAlisas);
+        HttpServiceManager httpServiceManager = new HttpServiceManager(bc, 
httpBase, cxfServletAlias);
         ConfigTypeHandlerFactory configTypeHandlerFactory
             = new ConfigTypeHandlerFactory(bc, intentManager, 
httpServiceManager);
         RemoteServiceAdminCore rsaCore = new RemoteServiceAdminCore(bc, 
configTypeHandlerFactory);

Modified: 
cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/Constants.java
URL: 
http://svn.apache.org/viewvc/cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/Constants.java?rev=1482373&r1=1482372&r2=1482373&view=diff
==============================================================================
--- 
cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/Constants.java
 (original)
+++ 
cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/Constants.java
 Tue May 14 15:10:10 2013
@@ -123,8 +123,20 @@ public final class Constants {
     public static final String DSW_CLIENT_ID = PROVIDER_PREFIX + 
".remote.dsw.client";
 
     public static final String INTENT_NAME_PROP = 
"org.apache.cxf.dosgi.IntentName";
+    
+    /**
+     * Prefix to create an absolute URL from a relative URL.
+     * See HttpServiceManager.getAbsoluteAddress 
+     * 
+     * Defaults to: http://<host name>:8181
+     */
     public static final String HTTP_BASE = "httpBase";
+    
+    /**
+     * Name of the cxf servlet alias
+     */
     public static final String CXF_SERVLET_ALIAS = "cxfServletAlias";
+    public static final String DEFAULT_CXF_SERVLET_ALIAS = "/cxf";
     
     private Constants() {
         //never constructed


Reply via email to