|
OSGi™ Service Platform Release 4 Version 4.2 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventHook
OSGi Framework Service Event Hook Service.
Bundles registering this service will be called during framework service (register, modify, and unregister service) operations.
Method Summary | |
---|---|
void |
event(ServiceEvent event,
java.util.Collection contexts)
Event hook method. |
Method Detail |
---|
void event(ServiceEvent event, java.util.Collection contexts)
event
- The service event to be delivered.contexts
- A Collection
of Bundle Contexts for bundles
which have listeners to which the specified event will be
delivered. The implementation of this method may remove bundle
contexts from the collection to prevent the event from being
delivered to the associated bundles. The collection supports all
the optional Collection
operations except
add
and addAll
. Attempting to add to the
collection will result in an
UnsupportedOperationException
. The collection is not
synchronized.
|
OSGi™ Service Platform Release 4 Version 4.2 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |