[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-283) Refactor ModClusterConfig to allow complex types

Jean-Frederic Clere (JIRA) jira-events at lists.jboss.org
Tue Apr 10 12:15:50 EDT 2012


     [ https://issues.jboss.org/browse/MODCLUSTER-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Frederic Clere updated MODCLUSTER-283:
-------------------------------------------

    Fix Version/s: 1.2.1.Beta3
                       (was: 1.2.1.Beta2)

    
> 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.Beta3
>
>
> 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