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

Bela Ban (Jira) issues at jboss.org
Wed May 22 03:31:00 EDT 2019


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

Bela Ban resolved JGRP-2226.
----------------------------
    Resolution: Done


> 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
>            Priority: Major
>             Fix For: 4.1.1
>
>
> 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.12.1#712002)


More information about the jboss-jira mailing list