Actually, all the needed code is already in the BaseSystemService class.
You just have to call init(JBIContainer) and shutDown() and the
service will register / unregister itself as a JMX MBean.

Cheers,
Guillaume Nodet

On 4/18/06, William Blackburn <[EMAIL PROTECTED]> wrote:
> I've written an exchange-listener that also extends BaseSystemService
> and implements its own MBean interface (which extends from
> LifeCycleMBean). I want to have basic manageability of this custom
> service. My config is simply:
>
> <sm:listeners>
>       <cmsm:clairmailMessageLogger />
> </sm:listeners>
>
> The listener registers fine and that part of it works, however, I
> also want it to be container aware and register as an MBean, this
> part does not work. I'm sure this is actually more of a JMX question,
> but can anyone provide insight into how I would configure such a
> MBean to plug into the smix jmx infrastructure?
>
> Thanks,
>
> BJ.
>

Reply via email to