avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject RE: jmx
Date Mon, 02 Apr 2001 06:12:09 GMT
At 07:56  2/4/01 +0200, Leo Simons wrote:
>> Okay - I am not sure how to do it exactly but lets just something like the
>> following happens. A ServerApplication starts up, somehow it is marked as
>> wanting to access/provide a kernel Facility. (Facilitys being the name I
>> chose for kernel level services). It receives a reference to an interface
>> that it can use to provide this Facility. It then interfaces to
>> kernel (and
>> thus other ServerApplications) through this interface.
>>
>> So the actual "doing" part is done in user land and it is only the glue
>> that exists in the kernel. When no .sar is loaded to provide service then
>> default implementations of Facilities are used.
>
>Hmm. An MBean is allowed to get a reference to the MBeanServer by
>implementing
>some specific interface. It might make more sense to just request a Facility
>from the MBeanServer; this allows for more generic MBeans. This needs a
>little
>more thinking, I think.

;)

>> I was hoping that the impact of JMX on the system would be
>> minimal - how do
>> you see it? I assume there will need to be entries in config files that
>> mark particular apps/blocks as manageable but is there a need to pu JMX
>> specific information in the config file ?
>
>I'm not entirely sure yet. If we really use DynamicMBeans for everything,
>no. If we also use standard MBeans, or want to provide the option, it is
>definately the most logical thing to do. But I'm not sure whether it is
>really neccessary...

sounds good.

>> Would it be possible for the services not to extend DynamicMBean but
>> instead a wrapper be used ?
>
>Sure thing. But why?

The less dependencies the better. One of my long-term goals is to get
Phoenix running on consoles like Playstation2 - thats a while off yet ;)
But I would prefer to keep everything as lightweight as possible - and if
it doesn't *need* to be a dependency then ... ;)

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


---------------------------------------------------------------------
To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org


Mime
View raw message