I couldn't find an example of an application that exported blocks for management so I made a couple of changes so that the HelloWorld demo message can be modified via a management interface.
Here are the changes:
Added the section for <management-access-points> to jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/tools/xdoclet/blockinfo.j so they are included in the xinfo file
Created a new class called jakarta-avalon-apps/demo/src/java/org/apache/avalon/apps/demos/helloworldserver/HelloWorldServerMBean that exports the setGreeting() method
Modified apps/demo/src/java/org/apache/avalon/apps/demos/helloworldserver/HelloWorldServerImpl to implement the management interface and added the doclet tag.
I think i will look into doing the same with the FTP Server to see what a more realistic example might look like.
HelloWorldServerMBean.java
Description: Binary data
HelloWorldServerImpl.diff
Description: Binary data
blockinfo.diff
Description: Binary data
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
