Author: alessio.soldano(a)jboss.com
Date: 2012-07-26 10:03:29 -0400 (Thu, 26 Jul 2012)
New Revision: 16548
Removed:
common/trunk/src/main/resources/META-INF/services/org.jboss.ws.api.configuration.ClientConfigurer
Modified:
common/trunk/src/main/java/org/jboss/ws/common/configuration/ConfigHelper.java
common/trunk/src/main/java/org/jboss/ws/common/configuration/Message.properties
Log:
[JBWS-3529] Methods for setting up client config properties
Modified: common/trunk/src/main/java/org/jboss/ws/common/configuration/ConfigHelper.java
===================================================================
---
common/trunk/src/main/java/org/jboss/ws/common/configuration/ConfigHelper.java 2012-07-26
14:02:54 UTC (rev 16547)
+++
common/trunk/src/main/java/org/jboss/ws/common/configuration/ConfigHelper.java 2012-07-26
14:03:29 UTC (rev 16548)
@@ -79,8 +79,14 @@
ClientConfig config = readConfig(configFile, configName);
setupConfigHandlers(port.getBinding(), config);
}
+
+ @Override
+ public void setConfigProperties(Object proxy, String configFile, String configName)
+ {
+ throw new RuntimeException(BundleUtils.getMessage(bundle,
"NOT_SUPPORTED", this.getClass()));
+ }
- private static ClientConfig readConfig(String configFile, String configName) {
+ protected ClientConfig readConfig(String configFile, String configName) {
if (configFile != null) {
InputStream is = null;
try
Modified: common/trunk/src/main/java/org/jboss/ws/common/configuration/Message.properties
===================================================================
---
common/trunk/src/main/java/org/jboss/ws/common/configuration/Message.properties 2012-07-26
14:02:54 UTC (rev 16547)
+++
common/trunk/src/main/java/org/jboss/ws/common/configuration/Message.properties 2012-07-26
14:03:29 UTC (rev 16548)
@@ -3,4 +3,5 @@
NOT_HANDLER_INSTANCE={0} is not a JAX-WS Handler instance
CAN_NOT_ADD_HANDLER=Could not add handler {0} as part of client or endpoint
configuration
COULD_NOT_READ_CONFIG=Could not read configuration from file {0}
-CONFIG_NOT_FOUND=Configuration {0} not found
\ No newline at end of file
+CONFIG_NOT_FOUND=Configuration {0} not found
+NOT_SUPPORTED=Operation not supported by ClientConfigurer: {0}
\ No newline at end of file
Deleted:
common/trunk/src/main/resources/META-INF/services/org.jboss.ws.api.configuration.ClientConfigurer
===================================================================
---
common/trunk/src/main/resources/META-INF/services/org.jboss.ws.api.configuration.ClientConfigurer 2012-07-26
14:02:54 UTC (rev 16547)
+++
common/trunk/src/main/resources/META-INF/services/org.jboss.ws.api.configuration.ClientConfigurer 2012-07-26
14:03:29 UTC (rev 16548)
@@ -1 +0,0 @@
-org.jboss.ws.common.configuration.ConfigHelper
\ No newline at end of file
Show replies by date