[jboss-jira] [JBoss JIRA] (JGRP-2226) Add Protocol.setProperties(Map<String, String> method to allow programmatic configuration of arbitrary properties

Paul Ferraro (JIRA) issues at jboss.org
Sun Oct 15 11:18:00 EDT 2017


Paul Ferraro created JGRP-2226:
----------------------------------

             Summary: Add Protocol.setProperties(Map<String, String> method to allow programmatic configuration of arbitrary properties
                 Key: JGRP-2226
                 URL: https://issues.jboss.org/browse/JGRP-2226
             Project: JGroups
          Issue Type: Feature Request
    Affects Versions: 4.0.7
            Reporter: Paul Ferraro
            Assignee: Paul Ferraro
             Fix For: 4.0.8


Currently, arbitrary protocol properties can only be configured programmatically via the setValue(String, Object) method. This has the following limitations:
* If these are truly arbitrary properties, we don't necessarily know the types
* This method relies on field names, not @Property names
* This method does not support @Property methods

This new setProperties(Map<String, String>) should throw an IllegalArgumentException if any of the properties are invalid.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list