]
Dan Berindei updated ISPN-3750:
-------------------------------
Fix Version/s: 7.0.0.Final
7.0.0.Alpha1
Configuration.toProperties
--------------------------
Key: ISPN-3750
URL:
https://issues.jboss.org/browse/ISPN-3750
Project: Infinispan
Issue Type: Feature Request
Components: Configuration
Affects Versions: 6.0.0.Final
Reporter: Michal Linhard
Assignee: Michal Linhard
Fix For: 6.0.1.Final, 7.0.0.Final, 7.0.0.Alpha1
I'd like to add methods
Configuration.toProperties() and
GlobalConfiguration.toProperties()
that would return current configuration values in flat key value structure (e.g.
java.util.Properties) where property keys would reflect names of configuration fields and
structure would be reflected by extending the key prefix and dividing by dot. e.g.
clustering.hash.numOwners=2
The least intrusive and maintenance demanding implementation is via Reflection.
The flat configuration would be exposed via JMX objects, e.g.
jboss.infinispan:type=Cache,name="testCache(dist_sync)",manager="default",component=Cache
attribute "configurationProperties"
jboss.infinispan:type=CacheManager,name="default",component=CacheManager
attribute "globalConfigurationProperties"
This is a diagnostic output feature and doesn't affect the way how Infinispan is
configured.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: