Steve,
This would be great if you could add the JMX stuff David has just done.
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.
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 !
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]