Author: rsearls
Date: 2014-05-06 11:05:52 -0400 (Tue, 06 May 2014)
New Revision: 18621
Modified:
common/branches/rsearls/pom.xml
common/branches/rsearls/src/main/java/org/jboss/ws/common/management/AbstractServerConfig.java
Log:
[JBWS-3750] new code
Modified: common/branches/rsearls/pom.xml
===================================================================
--- common/branches/rsearls/pom.xml 2014-05-06 15:04:16 UTC (rev 18620)
+++ common/branches/rsearls/pom.xml 2014-05-06 15:05:52 UTC (rev 18621)
@@ -9,7 +9,7 @@
<packaging>jar</packaging>
<description>JBossWS Common</description>
- <version>2.3.1-SNAPSHOT</version>
+ <version>2.3.2-SNAPSHOT</version>
<!-- Parent -->
<parent>
@@ -27,7 +27,7 @@
<!-- Properties -->
<properties>
- <jbossws.spi.version>2.3.1-SNAPSHOT</jbossws.spi.version>
+ <jbossws.spi.version>2.3.2-SNAPSHOT</jbossws.spi.version>
<jboss.jaxbintros.version>1.0.2.GA</jboss.jaxbintros.version>
<jboss.common.core.version>2.2.17.GA</jboss.common.core.version>
<jboss-logging.version>3.1.2.GA</jboss-logging.version>
Modified:
common/branches/rsearls/src/main/java/org/jboss/ws/common/management/AbstractServerConfig.java
===================================================================
---
common/branches/rsearls/src/main/java/org/jboss/ws/common/management/AbstractServerConfig.java 2014-05-06
15:04:16 UTC (rev 18620)
+++
common/branches/rsearls/src/main/java/org/jboss/ws/common/management/AbstractServerConfig.java 2014-05-06
15:05:52 UTC (rev 18621)
@@ -81,7 +81,11 @@
// Whether we should always modify the soap address to the deployed endpoint location
private volatile boolean modifySOAPAddress;
private final Object modifySOAPAddressLock = new Object();
-
+
+ // The SOAP address path component for substitution in the existing SOAP address.
+ private volatile String webServicePath;
+ private final Object webServicePathLock = new Object();
+
//The stack config
protected volatile StackConfig stackConfig;
@@ -249,7 +253,28 @@
return localPort;
}
}
-
+
+ public String getWebServicePath()
+ {
+ return webServicePath;
+ }
+
+ public void setWebServicePath(String path)
+ {
+ setWebServicePath(path, null);
+ }
+
+ public void setWebServicePath(String path, UpdateCallbackHandler uch)
+ {
+ synchronized (webServicePathLock) {
+ if (uch != null)
+ {
+ uch.onBeforeUpdate();
+ }
+ this.webServicePath = path;
+ }
+ }
+
private int getConnectorPort(boolean secure) {
final ClassLoader cl =
ClassLoaderProvider.getDefaultProvider().getServerIntegrationClassLoader();
int port = 0;
Show replies by date