try {
return new ObjectName("javax.cache:type=Cache" + objectNameType.objectName
+ ",CacheManager=" + cacheManagerName
+ ",Cache=" + cacheName);
} catch (MalformedObjectNameException e) {
throw new CacheException("Illegal ObjectName for Management Bean. " +
"CacheManager=[" + cacheManagerName + "], Cache=[" + cacheName + "]", e);
}
}