What is the problem that you cannot implement the necessary
interfaces?

Andy

> -----Original Message-----
> From: Julian Gosnell [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 10, 2001 4:36 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-dev] Dynamically created 3rd-party MBeans.... -
> Crystalised
> 
> 
> 
> Thanks everyone for your input.
> 
> I believe I am now able to crystalise my problem for you all.
> 
> I wish to integrate some 3rd-party MBeans into JBoss.
> 
> I create the first MBean, which creates others as and when needed,
> dynamically (maybe days later), registering all of them with the same
> MBeanServer.
> 
> They are _NOT_  loaded from static descriptions in a file.
> 
> They do _NOT_ implement org.jboss.util.Service.
> 
> 
> My problem is this:
> 
> If I set them up to register with the JBoss MBeanServer, the
> ServiceControlMBean receives notification of their 
> registration and, in
> spite of the fact that they do not implement org.jboss.util.Service,
> calls init() on them unsuccessfully.
> 
> It appears to me that:
> 
> JBoss does not expect MBeans both not to implement Service not to be
> statically loaded from a file.
> 
> It seems to me that since I need to do exactly this with 
> JettyJMX, that
> we need  to resolve this (apologies if there is already a way to do it
> and I have missed it).
> 
> Am I wrong ?
> 
> Suggestions ?
> 
> 
> Jules
> 
> 
> 
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 
> _______________________________________________
> 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