public static List < ListenerBuilder > builders ( ClassLoader classLoader , KnowledgeComponentImplementationModel implementationModel ) { List < ListenerBuilder > builders = new ArrayList < ListenerBuilder > ( ) ; if ( implementationModel != null ) { ListenersModel listenersModel = implementationModel . getListeners ( ) ; if ( listenersModel != null ) { for ( ListenerModel listenerModel : listenersModel . getListeners ( ) ) { if ( listenerModel != null ) { builders . add ( new ListenerBuilder ( classLoader , listenerModel ) ) ; } } } } return builders ; }
Creates ListenerBuilders .