JBossWS SVN: r16350 - common/trunk/src/main/java/org/jboss/ws/common/management.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2012-06-04 15:38:34 -0400 (Mon, 04 Jun 2012)
New Revision: 16350
Modified:
common/trunk/src/main/java/org/jboss/ws/common/management/AbstractServerConfig.java
Log:
[JBWS-3335] Adding client configs to server config
Modified: common/trunk/src/main/java/org/jboss/ws/common/management/AbstractServerConfig.java
===================================================================
--- common/trunk/src/main/java/org/jboss/ws/common/management/AbstractServerConfig.java 2012-06-04 11:59:33 UTC (rev 16349)
+++ common/trunk/src/main/java/org/jboss/ws/common/management/AbstractServerConfig.java 2012-06-04 19:38:34 UTC (rev 16350)
@@ -43,6 +43,7 @@
import org.jboss.wsf.spi.management.StackConfigFactory;
import org.jboss.wsf.spi.management.WebServerInfo;
import org.jboss.wsf.spi.management.WebServerInfoFactory;
+import org.jboss.wsf.spi.metadata.config.ClientConfig;
import org.jboss.wsf.spi.metadata.config.EndpointConfig;
/**
@@ -77,6 +78,8 @@
//The stack config
protected StackConfig stackConfig;
// The default endpoint configs, if any
+ private final List<ClientConfig> clientConfigs = new ArrayList<ClientConfig>();
+ // The default endpoint configs, if any
private final List<EndpointConfig> endpointConfigs = new ArrayList<EndpointConfig>();
public MBeanServer getMbeanServer()
@@ -232,8 +235,18 @@
this.endpointConfigs.add(config);
}
+ public void addClientConfig(ClientConfig config)
+ {
+ this.clientConfigs.add(config);
+ }
+
public List<EndpointConfig> getEndpointConfigs()
{
return this.endpointConfigs;
}
+
+ public List<ClientConfig> getClientConfigs()
+ {
+ return this.clientConfigs;
+ }
}
\ No newline at end of file