public static void registerListener ( ListenerInfo information ) { if ( isServiceLoaderDisabled ( ) ) { // Donot even attempt register any listeners if the user doesnt want them to be managed. return ; } logger . entering ( information ) ; listenerMap . put ( information . getListenerClassName ( ) , information ) ; }
Register your Listener using this method .