1 Reply Latest reply on May 14, 2002 11:18 AM by adrian.brock

    Can MBeans save themselves back to the JCML?

    arshrp

      In my jboss.jcml I've configured several custom MBeans to startup and they are working great. The problem is once I change the state of the MBeans (their attributes) I need a way to write this back to the jcml so that the change in mbean attribute values will be preserved after I stop and restart JBoss.

      I have taken a look at PersistentMBean but can't find a JBoss class that implements it. I am also aware of the PersistenceInterceptor class but can't make much sense of it. I have a hunch that the solution may involve either or both of those classes?

      Can anyone solve this problem for me or at least point me in the right direction?

      Thanks,

      Andrew