Package org.osgi.service.typedevent
Interface UnhandledEventHandler
@ConsumerType
public interface UnhandledEventHandler
Listener for Unhandled Events.
UnhandledEventHandler
objects are registered with the Framework
service registry and are notified with an event object when an event is sent,
but no other handler is found to receive the event
- "ThreadSafe"
-
Method Summary
Modifier and TypeMethodDescriptionvoid
notifyUnhandled
(String topic, Map<String, Object> event) Called by theTypedEventBus
service to notify the listener of an unhandled event.
-
Method Details
-
notifyUnhandled
Called by theTypedEventBus
service to notify the listener of an unhandled event.- Parameters:
topic
- The topic to which the event was sentevent
- The event that occurred.
-