Author: alessio.soldano(a)jboss.com
Date: 2012-05-25 11:02:51 -0400 (Fri, 25 May 2012)
New Revision: 16318
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/Constants.java
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/configuration/BusHolder.java
stack/cxf/trunk/modules/server/src/test/java/org/jboss/wsf/stack/cxf/configuration/BusHolderTest.java
Log:
[JBWS-3504] Renaming constant
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/Constants.java
===================================================================
---
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/Constants.java 2012-05-25
14:40:23 UTC (rev 16317)
+++
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/Constants.java 2012-05-25
15:02:51 UTC (rev 16318)
@@ -39,5 +39,5 @@
public static final String CXF_QUEUE_HIGH_WATER_MARK_PROP =
"highWaterMark";
public static final String CXF_QUEUE_LOW_WATER_MARK_PROP = "lowWaterMark";
public static final String CXF_QUEUE_DEQUEUE_TIMEOUT_PROP =
"dequeueTimeout";
- public static final String CXF_POLICY_ALTERNATIVE_SELECTOR =
"cxf.policy.alternativeSelector";
+ public static final String CXF_POLICY_ALTERNATIVE_SELECTOR_PROP =
"cxf.policy.alternativeSelector";
}
Modified:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/configuration/BusHolder.java
===================================================================
---
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/configuration/BusHolder.java 2012-05-25
14:40:23 UTC (rev 16317)
+++
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/configuration/BusHolder.java 2012-05-25
15:02:51 UTC (rev 16318)
@@ -203,7 +203,7 @@
//default to MaximalAlternativeSelector on server side [JBWS-3149]
AlternativeSelector selector = new MaximalAlternativeSelector();
if (props != null && !props.isEmpty()) {
- String className = props.get(Constants.CXF_POLICY_ALTERNATIVE_SELECTOR);
+ String className = props.get(Constants.CXF_POLICY_ALTERNATIVE_SELECTOR_PROP);
if (className != null) {
try {
Class<?> clazz = Class.forName(className);
Modified:
stack/cxf/trunk/modules/server/src/test/java/org/jboss/wsf/stack/cxf/configuration/BusHolderTest.java
===================================================================
---
stack/cxf/trunk/modules/server/src/test/java/org/jboss/wsf/stack/cxf/configuration/BusHolderTest.java 2012-05-25
14:40:23 UTC (rev 16317)
+++
stack/cxf/trunk/modules/server/src/test/java/org/jboss/wsf/stack/cxf/configuration/BusHolderTest.java 2012-05-25
15:02:51 UTC (rev 16318)
@@ -65,7 +65,7 @@
Deployment dep = new TestDeployment();
if (alternative != null) {
JBossWebservicesMetaData wsmd = new JBossWebservicesMetaData(null);
- wsmd.setProperty(Constants.CXF_POLICY_ALTERNATIVE_SELECTOR, alternative);
+ wsmd.setProperty(Constants.CXF_POLICY_ALTERNATIVE_SELECTOR_PROP, alternative);
dep.addAttachment(JBossWebservicesMetaData.class, wsmd);
}
BusHolder holder = new NonSpringBusHolder(new DDBeans());
Show replies by date