Author: alessio.soldano(a)jboss.com
Date: 2012-05-31 11:38:22 -0400 (Thu, 31 May 2012)
New Revision: 16335
Modified:
common/trunk/src/main/java/org/jboss/ws/common/configuration/ConfigHelper.java
Log:
[JBWS-3505] Making a method public to reduce duplicated code in cxf stack
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-05-31
15:37:31 UTC (rev 16334)
+++
common/trunk/src/main/java/org/jboss/ws/common/configuration/ConfigHelper.java 2012-05-31
15:38:22 UTC (rev 16335)
@@ -97,8 +97,14 @@
}
}
+ /**
+ * Setups a given Binding instance using a specified CommonConfig
+ *
+ * @param binding the Binding instance to setup
+ * @param config the CommonConfig with the input configuration
+ */
@SuppressWarnings("rawtypes")
- private static void setupConfigHandlers(Binding binding, CommonConfig config)
+ public void setupConfigHandlers(Binding binding, CommonConfig config)
{
if (config != null) {
List<Handler> handlers = convertToHandlers(config.getPreHandlerChains(),
binding); //PRE
Show replies by date