|
OSGi™ Service Platform Release 4 Version 4.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Event Admin service. Bundles wishing to publish events must obtain the Event Admin service and call one of the event delivery methods.
Method Summary | |
void |
postEvent(Event event)
Initiate asynchronous delivery of an event. |
void |
sendEvent(Event event)
Initiate synchronous delivery of an event. |
Method Detail |
public void postEvent(Event event)
event
- The event to send to all listeners which subscribe
to the topic of the event.
java.lang.SecurityException
- If the caller does not have
TopicPermission[topic,PUBLISH]
for the topic
specified in the event.public void sendEvent(Event event)
event
- The event to send to all listeners which subscribe
to the topic of the event.
java.lang.SecurityException
- If the caller does not have
TopicPermission[topic,PUBLISH]
for the topic
specified in the event.
|
OSGi™ Service Platform Release 4 Version 4.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |