]
Richard Achmatowicz commented on ISPN-808:
------------------------------------------
I was thinking of checking default values and adjusting the defaults based on the
client's requirements. There seems to be no opportunity to programmatically check what
the default values are for properties (e.g. which load balancing policy is in effect?).
But this is up to you.
The original testing issue is resolved after it was pointed out to me that if a security
manager is not in place, we can still use reflection to check private fields. Duh. I'm
going to take that approach.
Provide programmatic access to RemoteCacheManager configuration data
--------------------------------------------------------------------
Key: ISPN-808
URL:
https://jira.jboss.org/browse/ISPN-808
Project: Infinispan
Issue Type: Feature Request
Affects Versions: 4.1.0.Final, 4.2.0.CR2
Reporter: Richard Achmatowicz
Assignee: Manik Surtani
Fix For: 4.2.0.CR3, 4.2.0.Final
RemoteCacheManager can have properties passed to it via a number of constructors, but
once the object is constructed, there is no means to view the properties in effect.
At a basic level, just having a getter method for the ConfigurationProperties instance
would be a big help for developers who want to check the properties in effect. This
instance is cuurently private with no hope of access as far as I can tell, even via
reflection.
At a more advanced level, being able to check the set of properties, then stopping,
resetting a property and restarting the RemoteCacheManager instance doesn't seem all
that unreasonable.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: