2 methods:

#1: use the JNDI binding (available only in 1.2, sorry). The attribute would be 
"JndiName"

#2: use the regular MBean lookup methods, e.g.

  | MBeanServer server=MBeanServerLocator.locate();
  | TreeCacheMBean cache;
  | cache=(TreeCacheMBean)MBeanProxyExt.create(TreeCacheMBean.class, 
"jboss:service=JBossCache", server);
  | cache.put("/a/b/c", null);
  | 

Bela

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854263#3854263

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854263


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to