Has anyone gotten managed-operations to generate for the jboss-services.xml?
Here is my operation:
/**
* @jmx:managed-operation
* @jmx:managed-parameter
* name="parm"
* type="java.lang.String"
* description="my description"
*/
public void myOperation(String parm)
{
System.err.println("");
}
It generates the MBean interface fine, but the operation does not appear in the
jboss-services.xml (though the mbean does with my managed attributes)
Here is my ant task:
<target name="generate-jmx" depends="prepare" description="Generate JMX source and
descriptors.">
<taskdef name="jmxdoclet" classname="xdoclet.modules.jmx.JMXDocletTask">
<classpath refid="xdocpath"/>
</taskdef>
<jmxdoclet destdir="${build.generate.dir}" force="false">
<fileset dir="${source.dir}">
<include name="**/jmx/*.java"/>
</fileset>
<mbeaninterface/>
<jbossXmlServiceTemplate servicefile="jboss"
destdir="${build.dir}/jmx/META-INF" mergedir="."/>
</jmxdoclet>
</target>
I have this problem with and without managed-parameters
Any ideas on what to try would be greatly appreciated.
Sincerely,
Jasper Rosenberg
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user