public interface Channel
Channel
is used in the notification framework to
publish an event.
If an event occurs and if there is a subscription matching this
event, the subscription is associated with a channel and the
channel is invoked to publish this event.Modifier and Type | Method and Description |
---|---|
void |
publish(NotificationContext context,
org.osgi.service.event.Event event)
Publish the event through this channel.
|
void publish(NotificationContext context, org.osgi.service.event.Event event) throws Exception
context
- The notification context.event
- The event that occured.Exception
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"