Really?
As far as I know you get the class implementing the MBean
(ObjectInstance.getClassName()), load this class and use
introspection to get the interfaces its implements.
Mad Andy
-----Original Message-----
From: Rickard �berg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 06, 2000 2:29 AM
To: jBoss Developer
Subject: Re: [jBoss-Dev] Re: [jBoss-Dev]
Scott M Stark wrote:
> Right now the implementation of the DependencyManager does not check for
> MBeans implementing a common interface. Rather it looks for MBeans that
> conform to an object naming pattern of ":service=XXX" and then uses
> introspection to look for a start method. I'm not sure if there is a
reason for this
> as opposed to just checking to see if the MBean does implement the Service
> interface.
There's no way to check if an MBean implements a particular interface.
/Rickard
--
Rickard �berg
Email: [EMAIL PROTECTED]