First I'd like to thank those who added me as a committer.

A few days ago I submitted a patch to add the then-jboss standard
convention of having a static final string named OBJECT_NAME in generated
mbean interfaces (standard mbeans).  (Thanks Vincent for applying it).

Now we've changed our collective mind again and are now using a factory
class to have ObjectName instead of String.  Since the factory is
jboss-specific I imagine noone wants the standard mbean.j file to include a
reference to it.

So...

Is the best way to deal with this to make a jboss-standard-mbean.j in
vendor with this new convention?

Should I also write a jboss subtask of jmxDoclet to use this template?

I'd kind of like to leave the string OBJECT_NAME in mbean.j for use with
jboss 2.4: it seems like a reasonable convention to me in any case.


And now for another question...

I've wondered about generating dynamic mbeans from annotated code.  When I
write a dynamic mbean by hand, I put the invoke and metadata methods in the
class itself.  Is there any way to add code to an existing file and compile
the modified file rather than the original?  Another possibility is to have
the dynamic mbean extend the original class, so if modifying the original
file is too hard I could do that instead.

Has anyone tried to do this?

Thanks

David Jencks

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to