Iam instantiating the TreeCacheMBean from out side of Jboss like
MBeanServer server = MBeanServerLocator.locate();
cache = (TreeCacheMBean) MBeanProxyExt.create(TreeCacheMBean.class, "jboss.cache:service=MyCache", server);
cache.put("/demo/child", null);
but how to instantiate the TreeCache
Thanks