Is it possible to have an MBean register a JBoss Datasource programmatically? I am currently using ?ds.xml files to configure (and register) my data sources. However, I would love to use an application-specific file to hold this data as I have several other non-jboss utilities that require the same information.