[infinispan-dev] Feature requests for new Configuration API

Paul Ferraro paul.ferraro at redhat.com
Wed Jan 4 09:24:57 EST 2012


While migrating the Infinispan AS7 subsystem to use the new
configuration API, I've run into a couple of issues in the form of
feature requests for 5.1.0.CR3:

1. A method to retrieve the
org.infinispan.configuration.cache.Configuration from the cache manager
without starting it's respective cache.
e.g. getCacheConfiguration(String name)
If the named cache was not defined, it would return null.
Formerly, I used to be able to do:
defineConfiguration(name, new Configuration());
However, since the new Configuration objects are fully formed, the
returned configuration object will always be equivalent to the empty one
passed in.
https://issues.jboss.org/browse/ISPN-1666

2. A method to retrieve the
org.infinispan.configuration.global.GlobalConfiguration of a cache
manager.  The existing getGlobalConfiguration() method returns the
deprecated org.infinispan.config.GlobalConfiguration object.
https://issues.jboss.org/browse/ISPN-1667

Thanks,

Paul



More information about the infinispan-dev mailing list