|
OSGi™ Core Release 5 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ListenerHook
OSGi Framework Service Listener Hook Service.
Bundles registering this service will be called during service listener addition and removal.
| Nested Class Summary | |
|---|---|
static interface |
ListenerHook.ListenerInfo
Information about a Service Listener. |
| Method Summary | |
|---|---|
void |
added(java.util.Collection<ListenerHook.ListenerInfo> listeners)
Added listeners hook method. |
void |
removed(java.util.Collection<ListenerHook.ListenerInfo> listeners)
Removed listeners hook method. |
| Method Detail |
|---|
void added(java.util.Collection<ListenerHook.ListenerInfo> listeners)
listeners - A collection of ListenerHook.ListenerInfos for newly added
service listeners which are now listening to service events.
Attempting to add to or remove from the collection will result in
an UnsupportedOperationException. The collection is not
synchronized.void removed(java.util.Collection<ListenerHook.ListenerInfo> listeners)
listeners - A collection of ListenerHook.ListenerInfos for newly removed
service listeners which are no longer listening to service events.
Attempting to add to or remove from the collection will result in
an UnsupportedOperationException. The collection is not
synchronized.
|
OSGi™ Core Release 5 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||