public interface ListenerHook
Bundles registering this service will be called during service listener addition and removal.
Modifier and Type | Interface and Description |
---|---|
static interface |
ListenerHook.ListenerInfo
Information about a Service Listener.
|
Modifier and Type | Method and Description |
---|---|
void |
added(Collection<ListenerHook.ListenerInfo> listeners)
Added listeners hook method.
|
void |
removed(Collection<ListenerHook.ListenerInfo> listeners)
Removed listeners hook method.
|
void added(Collection<ListenerHook.ListenerInfo> listeners)
listeners
- A collection of ListenerHook.ListenerInfo
s 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(Collection<ListenerHook.ListenerInfo> listeners)
listeners
- A collection of ListenerHook.ListenerInfo
s 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.Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.