Hey Juha,

I can't until tonite (EST).  Let Julian play with it and if other folks
agree it is trivial to add this.

So ServiceControl.handleNotification(), instead of just checking for
registration event , check type as well.  I beleive easiest way to do this
is to use MBeanServer.isInstanceOf .

Something like:

if(reg.getType().equals(MBeanServerNotification.REGISTRATION_NOTIFICATION) &&
 server.isInstanceOf(reg.getMBeanName(),"org.jboss.util.Service"))

simillar for deregistration.


Vlada    

On Wed, 11 Apr 2001, Juha-P Lindfors wrote:

> 
> 
> On Wed, 11 Apr 2001, [EMAIL PROTECTED] wrote:
> > I still don't see anything wrong with type check for
> > org.jboss.util.Service.
> 
> Me neither. That should be enough to identify the mbeans adhering to the
> JBoss service life cycle management.
> 
> Will you make this change?
> 
> -- Juha
> 
> 
> 
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development
> 


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to