[infinispan-issues] [JBoss JIRA] Created: (ISPN-482) CacheManager change to generics interface missing methods. Cannot hook it up to Hibernate 3.5.x
Gisella Saavedra (JIRA)
jira-events at lists.jboss.org
Fri Jun 4 15:24:25 EDT 2010
CacheManager change to generics interface missing methods. Cannot hook it up to Hibernate 3.5.x
------------------------------------------------------------------------------------------------
Key: ISPN-482
URL: https://jira.jboss.org/browse/ISPN-482
Project: Infinispan
Issue Type: Bug
Components: Core API
Affects Versions: 4.1.0.BETA2
Reporter: Gisella Saavedra
Assignee: Manik Surtani
Priority: Blocker
The latest BETA2 release has a change for core interface org.infinispan.manager.CacheManager. Most of the methods are missing (from BETA1 and 4.0).
The hibernate class InfinispanRegionFactory fails to create the CacheManager. manager.getGlobalConfiguration() does not exist!!!!!!!!!!!!!!!!!
-------------------------
protected CacheManager createCacheManager(Properties properties) throws CacheException {
try {
String configLoc = PropertiesHelper.getString(INFINISPAN_CONFIG_RESOURCE_PROP, properties, DEF_INFINISPAN_CONFIG_RESOURCE);
CacheManager manager = new DefaultCacheManager(configLoc, false);
String globalStats = PropertiesHelper.extractPropertyValue(INFINISPAN_GLOBAL_STATISTICS_PROP, properties);
if (globalStats != null) {
manager.getGlobalConfiguration().setExposeGlobalJmxStatistics(Boolean.parseBoolean(globalStats));
}
manager.start();
return manager;
} catch (IOException e) {
throw new CacheException("Unable to create default cache manager", e);
}
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list