public interface EventHook
Bundles registering this service will be called during framework service (register, modify, and unregister service) operations.
void event(ServiceEvent event, Collection contexts)
event- The service event to be delivered.
Collectionof 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
addAll. Attempting to add to the collection will result in an
UnsupportedOperationException. The collection is not synchronized.
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.