Package org.osgi.service.event
Interface EventAdmin
public interface EventAdmin
The Event Admin service. Bundles wishing to publish events must obtain the
Event Admin service and call one of the event delivery methods.
- Version:
- $Revision: 5673 $
-
Method Summary
-
Method Details
-
postEvent
Initiate asynchronous delivery of an event. This method returns to the caller before delivery of the event is completed.- Parameters:
event
- The event to send to all listeners which subscribe to the topic of the event.- Throws:
SecurityException
- If the caller does not haveTopicPermission[topic,PUBLISH]
for the topic specified in the event.
-
sendEvent
Initiate synchronous delivery of an event. This method does not return to the caller until delivery of the event is completed.- Parameters:
event
- The event to send to all listeners which subscribe to the topic of the event.- Throws:
SecurityException
- If the caller does not haveTopicPermission[topic,PUBLISH]
for the topic specified in the event.
-