Author: richard.opalka(a)jboss.com
Date: 2009-07-27 08:33:37 -0400 (Mon, 27 Jul 2009)
New Revision: 10392
Modified:
stack/cxf/branches/ropalka/modules/server/src/main/java/org/jboss/wsf/stack/cxf/DescriptorDeploymentAspect.java
stack/cxf/branches/ropalka/modules/server/src/main/resources/jbossws-cxf-config.xml
Log:
[JBWS-2332] refactoring
Modified:
stack/cxf/branches/ropalka/modules/server/src/main/java/org/jboss/wsf/stack/cxf/DescriptorDeploymentAspect.java
===================================================================
---
stack/cxf/branches/ropalka/modules/server/src/main/java/org/jboss/wsf/stack/cxf/DescriptorDeploymentAspect.java 2009-07-27
12:30:32 UTC (rev 10391)
+++
stack/cxf/branches/ropalka/modules/server/src/main/java/org/jboss/wsf/stack/cxf/DescriptorDeploymentAspect.java 2009-07-27
12:33:37 UTC (rev 10392)
@@ -27,7 +27,7 @@
import java.util.Map;
import org.jboss.logging.Logger;
-import org.jboss.wsf.common.integration.Constants;
+import org.jboss.wsf.common.integration.WSConstants;
import org.jboss.wsf.spi.deployment.ArchiveDeployment;
import org.jboss.wsf.spi.deployment.Deployment;
import org.jboss.wsf.spi.deployment.DeploymentAspect;
@@ -200,17 +200,17 @@
*
* @param dep webservice deployment
* @param cxfURL CXF DD URL
- * @see org.jboss.wsf.common.integration.Constants.STACK_CONTEXT_PARAMS
+ * @see org.jboss.wsf.common.integration.WSConstants.STACK_CONTEXT_PARAMS
*/
private void putCXFConfigToDeployment(Deployment dep, URL cxfURL)
{
// get property map
- Map<String, String> contextParams = (Map<String,
String>)dep.getProperty(Constants.STACK_CONTEXT_PARAMS);
+ Map<String, String> contextParams = (Map<String,
String>)dep.getProperty(WSConstants.STACK_CONTEXT_PARAMS);
if (contextParams == null)
{
// if there's no associated map with the property create it now
contextParams = new HashMap<String, String>();
- dep.setProperty(Constants.STACK_CONTEXT_PARAMS, contextParams);
+ dep.setProperty(WSConstants.STACK_CONTEXT_PARAMS, contextParams);
}
// put cxf config URL to the property map
contextParams.put(CXFServletExt.PARAM_CXF_BEANS_URL, cxfURL.toExternalForm());
Modified:
stack/cxf/branches/ropalka/modules/server/src/main/resources/jbossws-cxf-config.xml
===================================================================
---
stack/cxf/branches/ropalka/modules/server/src/main/resources/jbossws-cxf-config.xml 2009-07-27
12:30:32 UTC (rev 10391)
+++
stack/cxf/branches/ropalka/modules/server/src/main/resources/jbossws-cxf-config.xml 2009-07-27
12:33:37 UTC (rev 10392)
@@ -29,8 +29,10 @@
<property name="provides">ContextProperties</property>
<property name="contextProperties">
<map keyClass="java.lang.String"
valueClass="java.lang.String">
-
<entry><key>org.jboss.wsf.common.integration.Constants.StackTransportClass</key>
- <value>org.jboss.wsf.stack.cxf.CXFServletExt</value></entry>
+ <entry>
+ <key>stack.transport.class</key>
+ <value>org.jboss.wsf.stack.cxf.CXFServletExt</value>
+ </entry>
</map>
</property>
<property name="relativeOrder">31</property> <!--
[JBDEPLOY-201] workaround -->