3 Replies Latest reply on Sep 24, 2009 7:44 AM by Frank Stolle

    Depracated CacheJmxWrapperMBean

    Mariusz Smykula Newbie

      "http://www.jboss.org/file-access/default/members/jbosscache/freezone/docs/3.0.3.GA/apidocs/org/jboss/cache/jmx/CacheJmxWrapperMBean.html" is depracated, so is there any other option for declaring caching beans as JMX MBeans?

       <!-- JMX Management -->
       <bean name="CewiupCacheJmxWrapper" class="org.jboss.cache.jmx.JmxRegistrationManager">
       <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.cache:service=ExampleTreeCache", exposedInterface=org.jboss.cache.jmx.CacheJmxWrapperMBean.class, registerDirectly=true)</annotation>
       <constructor>
       <parameter><inject bean="ExampleCache"/></parameter>
       </constructor>
       </bean>
      

      How to do this with "http://www.jboss.org/file-access/default/members/jbosscache/freezone/docs/3.0.3.GA/apidocs/org/jboss/cache/jmx/JmxRegistrationManager.html"?