I'm new to the jboss cache so this might be a trivial question for the most of you.
I have JBoss AS 5 and run the "all" profile.
In my EJB's I want to write and/or read from the sfsb-cache.
The problem is that I don't know how to get the cache as a Cache object.
As I understand I should get the CacheManager from the MBean server.
I have the following code:
MBeanServer server = ManagementFactory.getPlatformMBeanServer();
server.queryNames(x,y)and then I have a Set of ObjectNames.