public interface SubscriptionFilter
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(org.osgi.service.event.Event event)
Determines whether this subscription filter accepts the given
event . |
boolean |
accepts(Subscription subscription)
Determines whether the given
subscription corresponds to the filter criteria of this handler. |
EventInfo |
getInfo()
Returns the filter criteria.
|
boolean accepts(org.osgi.service.event.Event event)
event
. If it doesn't, this provider
should not be used for subscription retrieval.event
- The Event
to check.true
if this provider accepts the event.boolean accepts(Subscription subscription)
subscription
corresponds to the filter criteria of this handler.subscription
- The Subscription
to check.true
if the subscription corresponds to the filter criteria."Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"