1 Reply Latest reply on Feb 20, 2006 9:59 AM by dimitris

    XMBean Persistence Question

    malmit

      I am trying to implement a MBean which persists it's configuration to the database rather than a xml file which a XMBean does by default. Do I need to create my own PersistenceManager to do this or does Jboss provide any such PersistenceManager. From what I read in the Wiki, I seems like XMBeans only persist to XML files on the file system.

      Thanks in advanced!

        • 1. Re: XMBean Persistence Question
          dimitris

          You'd have to provide your own implementation of org.jboss.mx.persistence.AttributePersistenceManager.

          For example, see how org.jboss.system.pm.XMLAttributePersistenceManager is implemented.

          If you make this generic/well tested, I'll consider adding it to the codebase.