-
1. Re: MBean dependancy problem
joegalgx Jan 2, 2003 5:41 PM (in response to joegalgx)Well after some due diligence on the forums, It seems that the <depends> tag is only relevant if you are implementing the JBossService interface.
Then I would put my startup code in the start() method rather than the postRegister method. In fact using the JMXRegistration stuff would be unecessary.
It seems strange that a deployment dependency is linked to an interface, MBean should be enough. After all isn't the agent capable of ordering deployment without requiring additional interfaces? -
2. Re: MBean dependancy problem
joegalgx Jan 2, 2003 7:16 PM (in response to joegalgx)Using ServiceMBeanSupport has solved my problem of dependancies. I do have one question though; Is there a way to reference a single element that stands for ALL Queues?
thanks,
-joe -
3. Re: MBean dependancy problem
adrian.brock Jan 3, 2003 10:28 AM (in response to joegalgx)The Service interface is only a helper,
it is only a requirement to specify create/start/etc
in your management interface.
on all queues is not possible at the moment
The semantics are unclear.
e.g. If a new queue is deployed do we restart your
service?
Regards,
Adrian