Hi,
I'm trying to use xdoclet to generate my service.xml for an MBean, but I'm not getting all of the things I need into it. I've got the xmbean-dd xml file working okay.
I'm trying to use something like:
* @jboss:service service="nis-admin"
* classpath="lib"
* archives="nis-service.jar"
*
* @jmx:mbean name="user:service=NisAdmin"
* description="sample for jboss xmbean.dtd"
* persistPolicy="OnUpdate"
* persistPeriod="10"
* persistLocation="${jboss.server.data.dir}"
* persistName="NISAdmin.ser"
* currencyTimeLimit="10"
* state-action-on-update="restart"
* descriptor="name=\"persistence-manager\" value=\"org.jboss.mx.persistence.ObjectStreamPersistenceManager\""
*
* @jboss:depends object-name="jboss.jca:service=BaseBootstrapContext"
The jboss:service and jboss:depends tags seemed to be ignored (jboss.depends is not documented, but I saw a posting that referred to it).
My ant target looks like this:
If anyone has an example of all this working, that would be very helpful!
Thanks,
Mike.