]
Paul Ferraro updated JGRP-2226:
-------------------------------
Summary: Add Protocol.setProperties(Map<String, String>) method to allow
programmatic configuration of arbitrary properties (was: Add
Protocol.setProperties(Map<String, String> method to allow programmatic
configuration of arbitrary properties)
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.