Author: richard.opalka(a)jboss.com
Date: 2009-07-27 08:42:07 -0400 (Mon, 27 Jul 2009)
New Revision: 10394
Modified:
stack/metro/branches/ropalka/modules/server/src/main/java/org/jboss/wsf/stack/metro/SunJaxwsDeploymentAspect.java
stack/metro/branches/ropalka/modules/server/src/main/java/org/jboss/wsf/stack/metro/metadata/RuntimeModelDeploymentAspect.java
stack/metro/branches/ropalka/modules/server/src/main/resources/jbossws-metro-config.xml
Log:
[JBWS-2332] refactoring
Modified:
stack/metro/branches/ropalka/modules/server/src/main/java/org/jboss/wsf/stack/metro/SunJaxwsDeploymentAspect.java
===================================================================
---
stack/metro/branches/ropalka/modules/server/src/main/java/org/jboss/wsf/stack/metro/SunJaxwsDeploymentAspect.java 2009-07-27
12:35:51 UTC (rev 10393)
+++
stack/metro/branches/ropalka/modules/server/src/main/java/org/jboss/wsf/stack/metro/SunJaxwsDeploymentAspect.java 2009-07-27
12:42:07 UTC (rev 10394)
@@ -21,7 +21,7 @@
*/
package org.jboss.wsf.stack.metro;
-import org.jboss.wsf.common.integration.Constants;
+import org.jboss.wsf.common.integration.WSConstants;
import org.jboss.wsf.spi.deployment.Deployment;
import org.jboss.wsf.spi.deployment.DeploymentAspect;
import org.jboss.wsf.spi.deployment.Endpoint;
@@ -93,17 +93,17 @@
*
* @param dep webservice deployment
* @param jaxwsConfigURL Metro DD URL
- * @see org.jboss.wsf.common.integration.Constants.STACK_CONTEXT_PARAMS
+ * @see org.jboss.wsf.common.integration.WSConstants.STACK_CONTEXT_PARAMS
*/
private static void putSunJaxwsConfigToDeployment(Deployment dep, URL jaxwsConfigURL)
{
// 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 sun jaxws config URL to the property map
contextParams.put(RuntimeModelDeploymentAspect.PARAM_SUN_JAXWS_URL,
jaxwsConfigURL.toExternalForm());
Modified:
stack/metro/branches/ropalka/modules/server/src/main/java/org/jboss/wsf/stack/metro/metadata/RuntimeModelDeploymentAspect.java
===================================================================
---
stack/metro/branches/ropalka/modules/server/src/main/java/org/jboss/wsf/stack/metro/metadata/RuntimeModelDeploymentAspect.java 2009-07-27
12:35:51 UTC (rev 10393)
+++
stack/metro/branches/ropalka/modules/server/src/main/java/org/jboss/wsf/stack/metro/metadata/RuntimeModelDeploymentAspect.java 2009-07-27
12:42:07 UTC (rev 10394)
@@ -33,7 +33,7 @@
import org.jboss.logging.Logger;
import org.jboss.wsf.common.ResourceLoaderAdapter;
-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;
@@ -143,7 +143,7 @@
private URL getDDUrlFromContext(Deployment deployment) throws MalformedURLException
{
Map<String, String> contextProperties =
- (Map<String,
String>)deployment.getProperty(Constants.STACK_CONTEXT_PARAMS);
+ (Map<String,
String>)deployment.getProperty(WSConstants.STACK_CONTEXT_PARAMS);
return new URL(contextProperties.get(PARAM_SUN_JAXWS_URL));
}
Modified:
stack/metro/branches/ropalka/modules/server/src/main/resources/jbossws-metro-config.xml
===================================================================
---
stack/metro/branches/ropalka/modules/server/src/main/resources/jbossws-metro-config.xml 2009-07-27
12:35:51 UTC (rev 10393)
+++
stack/metro/branches/ropalka/modules/server/src/main/resources/jbossws-metro-config.xml 2009-07-27
12:42:07 UTC (rev 10394)
@@ -30,8 +30,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.metro.EndpointServlet</value></entry>
+ <entry>
+ <key>stack.transport.class</key>
+ <value>org.jboss.wsf.stack.metro.EndpointServlet</value>
+ </entry>
</map>
</property>
<property name="relativeOrder">31</property> <!--
[JBDEPLOY-201] workaround -->