Flavio Orfano [
http://community.jboss.org/people/forfano] created the discussion
"Question about TreeCacheMBean when moving from cache 1.2.3 to 3.2.5"
To view the discussion, visit:
http://community.jboss.org/message/547618#547618
--------------------------------------------------------------
Hi lads,
We are migrating our Jboss AS from 3.2.8 to 5.1.0 so we will also migrate the cache.
In Jboss AS 3.2.8 it uses cache version 1.2.3 and Jboss As 5.1.0 uses 3.2.5 (codename
Malagueta).
I realized that in jboss cache 3.2.5 there is no more the org.jboss.cache.TreeCacheMBean
but instead it looks like it should be used the org.jboss.cache.jmx.CacheJmxWrapperMBean
.
The issue is that in TreeCacheMBean I could use method :
*http://docs.jboss.org/jbossas/javadoc/3.2.7/cache/org/jboss/cache/TreeCacheMBean.html#get%28org.jboss.cache.Fqn,%20java.lang.Object%29
get*(
http://docs.jboss.org/jbossas/javadoc/3.2.7/cache/org/jboss/cache/Fqn.html Fqn
fqn,
http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html Object key) to
finds a node given its name and returns the value associated with a given key in its data
map.
In CacheJmxWrapperMBean there is no such method. So my question is how could one work
around this situation to be able to access the nodes in the TreeCache?
BTW, I was not able to access the API link for Jboss cache Malagueta:
http://www.jboss.org/file-access/default/members/jbosscache/freezone/docs...
http://www.jboss.org/file-access/default/members/jbosscache/freezone/docs...
Cheers,
Flavio
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/547618#547618]
Start a new discussion in JBoss Cache at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]