@ProviderType public interface EventAdmin
void postEvent(Event event)
event
- The event to send to all listeners which subscribe to the
topic of the event.SecurityException
- If the caller does not have
TopicPermission[topic,PUBLISH]
for the topic specified in
the event.void sendEvent(Event event)
event
- The event to send to all listeners which subscribe to the
topic of the event.SecurityException
- If the caller does not have
TopicPermission[topic,PUBLISH]
for the topic specified in
the event.Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0