Laurent Rieu wrote:

Steve,

This would be great if you could add the JMX stuff David has just done.


Have just downloaded Dave's JMX stuff and will go though it in detail tommorow.


This is an excellent starting point for the instrumentation of the
components when they are deployed in Merlin. I have some time to spend on
the automatic ModelMBean generation, so I could use this work as a base.
Regarding dynamic MBean generation / registration, I'm thinking of using
the component mete-info to declare the manageable view of a component :
constructors, atttributes, operations and notifictaions a component want to
be exposed in its management view. But do we have access to all this in an
lifecycle extension handler, or do we have to build a specialized Appliance
? I guess this would be useful to have access to all these infos in a
custom extension handler, this would make things simpler.



The general lifecycle extension facility is insufficient for this, however Aaron has just put in place an extended lifecycle extension handler that works with the assembly package. Instead of a context argument you get the appliance instance and the stage descriptor. This is usable for mbean based management of the components.


After this first step, that is user component management, we could start
thinking on instrumenting Merlin itself. I have many ideas regarding this
subject. I'll think I'll post something next week !



Looking forward to it!


Cheers, Steve.

Laurent



David Bernard <[EMAIL PROTECTED] To: [EMAIL PROTECTED] com> cc: Subject: [merlin] jmx-0.3-dev1 06/28/2003 08:35 AM Please respond to "Avalon framework users"




Hi Stephen,


I follow to work with my version of jmx for merlin.
I add :
- jrmp adaptor and test it with mc4j-1.2-b1
- SystemInfo component, that wraps access to java.lang.Runtime
(totalMemory,...) and java.lang.System, usefull to follow System
resource usage.

I think it's normal, to not be able to register remote MBean to a
MBeanServer.
Because MBeanServer could access to any type of method from the MBean.
And MBean don't implements java.rmi.Remote.
An MBeanServer is the entry point to local Manageable Object.

Currently this version of jmx4merlin satisfy my needs.
I'll add javadoc
I'll probably add support for DynamicMBean later; it's possible to use a
same <Extension>Handler for several interface (MBeanable,
DynamicMBean,... *MBean (with glob definition))?

I you want, I could try to merge this work with yours (publish it, or
send me it).

PS : MBeanServerProxy, XXXAdaptorWrapper, Hello1 could be
compatible/useable with Fortress (feedback welcome).

[link]
* mc4j screenshoot
http://www.dwayne.freesurf.fr/download/pub/merlin/mc4j_merlin.png
* binary version (demo block)
http://www.dwayne.freesurf.fr/download/pub/merlin/merlin-jmx-0.3-dev1-bin.zip

* devel version (need alchim (unpublished) to build)
http://www.dwayne.freesurf.fr/download/pub/merlin/merlin-jmx-0.3-dev1-devel.tar.gz

--
--------------------------------------------------------------
David "Dwayne" Bernard             Freelance Developer (Java)
                                  mailto:[EMAIL PROTECTED]
     \|/                          http://dwayne.java-fan.com
--o0O @.@ O0o-------------------------------------------------


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--


Stephen J. McConnell
mailto:[EMAIL PROTECTED]
http://www.osm.net

Sent via James running under Merlin as an NT service.
http://avalon.apache.org/sandbox/merlin




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to