T - Service typeorg.apache.sling.commons.osgi.RankedServices instead.@Deprecated @ProviderType public final class RankedServices<T> extends Object implements Iterable<T>
| Modifier and Type | Class and Description |
|---|---|
static interface |
RankedServices.ChangeListener
Deprecated.
Notification for changes on services list.
|
| Constructor and Description |
|---|
RankedServices()
Deprecated.
Instantiate without change listener.
|
RankedServices(RankedServices.ChangeListener changeListener)
Deprecated.
Instantiate without change listener.
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind(T service,
Map<String,Object> props)
Deprecated.
Handle bind service event.
|
Collection<T> |
get()
Deprecated.
Lists all services registered in OSGi, sorted by service ranking.
|
Iterator<T> |
iterator()
Deprecated.
Iterates all services registered in OSGi, sorted by service ranking.
|
void |
unbind(T service,
Map<String,Object> props)
Deprecated.
Handle unbind service event.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic RankedServices()
public RankedServices(RankedServices.ChangeListener changeListener)
changeListener - Change listenerpublic void bind(T service, Map<String,Object> props)
service - Service instanceprops - Service reference propertiespublic void unbind(T service, Map<String,Object> props)
service - Service instanceprops - Service reference propertiespublic Collection<T> get()
Copyright © 2014–2019 wcm.io. All rights reserved.