* annotation or null if no such configuration is defined.
*/
protected Listeners getListeners() {
Listener[] listeners = parameters.getAnnotation().listeners();
if (listeners.length > 0) {
ListenersParameters parameters = new ListenersParameters();
parameters.setListenerAnnotations(listeners);
return new Listeners(parameters);
}
return null;
}