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!
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.