[infinispan-issues] [JBoss JIRA] (ISPN-3750) Configuration.toProperties

Michal Linhard (JIRA) jira-events at lists.jboss.org
Fri Nov 22 09:21:05 EST 2013


Michal Linhard created ISPN-3750:
------------------------------------

             Summary: 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


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: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list