Uses of Interface
org.apache.camel.main.MainListener
-
Uses of MainListener in org.apache.camel.main
Classes in org.apache.camel.main that implement MainListenerFields in org.apache.camel.main with type parameters of type MainListenerMethods in org.apache.camel.main that return types with arguments of type MainListenerMethods in org.apache.camel.main with parameters of type MainListenerModifier and TypeMethodDescriptionvoidBaseMainSupport.addMainListener(MainListener listener) Adds aMainListenerto receive callbacks when the main is started or stoppingvoidMainConfigurationProperties.addMainListener(MainListener listener) Adds main listener object to the known list of listener objects.voidBaseMainSupport.removeMainListener(MainListener listener) Removes theMainListenerMethod parameters in org.apache.camel.main with type arguments of type MainListenerModifier and TypeMethodDescriptionvoidMainConfigurationProperties.addMainListener(Class<? extends MainListener> listener) Adds main listener class to the known list of listener objects.voidMainConfigurationProperties.setMainListeners(List<MainListener> mainListeners) Sets main listener objects that will be used forMainListenerthat makes it possible to do custom logic during starting and stopping camel-main.MainConfigurationProperties.withMainListeners(List<MainListener> listeners) Adds main listener object to the known list of listener objects.