On 1/7/2011 9:56 AM, Lee Chuk Munn wrote:
> Hi
>
> I've written some probes and the ModuleBootstrap like so
>
> @Service(name="xmppcontainer-jmx")
> @Scoped(Singleton.class)
> public class XMPPContainerJMXimplements PostConstruct {
>
> public void postConstruct() {
> StatsProviderManager.register(...)
> }
>
> 1. How does this get loaded?
>
> 2. Do you only publish events when the listeners are loaded?
Correct. When there is probe listener registered for a probe, then the
probe event will get fired.
>
> Thanks