[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-283) Refactor ModClusterConfig to allow complex types
Paul Ferraro (JIRA)
jira-events at lists.jboss.org
Mon Feb 6 14:03:49 EST 2012
Paul Ferraro created MODCLUSTER-283:
---------------------------------------
Summary: Refactor ModClusterConfig to allow complex types
Key: MODCLUSTER-283
URL: https://issues.jboss.org/browse/MODCLUSTER-283
Project: mod_cluster
Issue Type: Enhancement
Affects Versions: 1.2.0.Final
Reporter: Paul Ferraro
Assignee: Paul Ferraro
Fix For: 1.2.1.Beta1
mod_cluster's configuration interfaces were originally designed to accept simple configuration property values. With AS7, complex property types (e.g. InetAddress, Collection<InetSocketAddress>, Set<String>) are easier to define - and the old methods are now cumbersome. We should keep the old mutator methods (for backwards compatibility), but alter the accessor methods to accept more complex types.
e.g.
Collection<InetSocketAddress> MCMPConfiguration.getProxies();
void ModClusterConfig.setProxies(Collection<InetSocketAddress>);
void ModClusterConfig.setProxyList(String proxyList);
InetAddress AdvertiseConfiguration.getAdvertiseGroupAddress();
void ModClusterConfig.setProxies(Collection<InetSocketAddress>);
void ModClusterConfig.setProxyList(String proxyList);
etc.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the mod_cluster-issues
mailing list