dcsimg
can i get the interfaces of all the MBeans by querying one of the MBeans registered with the particular MBean server?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   nagashree_n
Posted On:   Thursday, February 12, 2004 06:19 AM

I have several MBeans registered with the MBean server. Let me say that Test1MBean, Test2MBean and Test3MBean are the MBeans registered to a particular MBean server with unique object names. Test1MBean has other than the getter and setter methods, the sum1() and mul1() methods. Similarly Test2MBean has sum2() and mul2() and Test3MBean has sum3() and mul3(). Now a HTTP adapter which is completely unaware of these interfaces wishes to call sum1() by querying any one of the MBeans and also execute it. Can this happen? The HTTP adapter doesn't even know the object names of the MBeans or any other details and here it wishes to get all the info by just querying one of the MBea   More>>

I have several MBeans registered with the MBean server.
Let me say that Test1MBean, Test2MBean and Test3MBean
are the MBeans registered to a particular MBean server
with unique object names. Test1MBean has other than the
getter and setter methods, the sum1() and mul1()
methods. Similarly Test2MBean has sum2() and mul2() and
Test3MBean has sum3() and mul3(). Now a HTTP adapter
which is completely unaware of these interfaces wishes
to call sum1() by querying any one of the MBeans and
also execute it. Can this happen? The HTTP adapter
doesn't even know the object names of the MBeans or any
other details and here it wishes to get all the info by
just querying one of the MBeans registered. I mean to
say that the HTTP adapter does not wish to query the
particular MBean which has the method. It wishes to
talk only with one of the MBeans. It can also be the
MBean agent also since it is an MBean by itself. Can u
please give me an answer as soon as possible?

   <<Less
About | Sitemap | Contact