* @param pluginAnnotation description of plugin method to call
* @return true if ok
*/
protected boolean registerClassLoaderInit(final PluginAnnotation pluginAnnotation) {
LOGGER.debug("Registering ClassLoaderInitListener on {}", pluginAnnotation.getPluginClass());
pluginManager.registerClassLoaderInitListener(new ClassLoaderInitListener() {
@Override
public void onInit(ClassLoader classLoader) {
// call the init method
LOGGER.debug("Init plugin {} at classloader {}.", pluginAnnotation.getPluginClass(), classLoader);
invokeInitMethod(pluginAnnotation, null, classLoader);