Uses of Interface
org.omnifaces.util.FunctionalInterfaces.SerializableConsumer
Packages that use FunctionalInterfaces.SerializableConsumer
-
Uses of FunctionalInterfaces.SerializableConsumer in org.omnifaces.util
Methods in org.omnifaces.util with parameters of type FunctionalInterfaces.SerializableConsumerModifier and TypeMethodDescriptionstatic voidEvents.subscribeToApplicationEvent(Class<? extends SystemEvent> type, FunctionalInterfaces.SerializableConsumer<SystemEvent> callback) Subscribe the given callback to the current application that get invoked every time when the given system event type is published in the current application.static voidEvents.subscribeToViewEvent(Class<? extends SystemEvent> type, FunctionalInterfaces.SerializableConsumer<SystemEvent> callback) Subscribe the given callback to the current view that get invoked every time when the given system event type is published on the current view.