ServiceResolver |
ServiceResolver.addDependency(Class<?> clazz) |
Adds a mandatory dependency on the service specified by the
class.
|
ServiceResolver |
ServiceResolver.addDependency(String name,
String className) |
Adds a mandatory dependency on the service specified by the
service reference.
|
ServiceResolver |
ServiceResolver.addDependency(String name,
Filter filter) |
Adds a mandatory dependency on the service specified by the
filter.
|
ServiceResolver |
ServiceResolver.addDependency(String name,
ServiceReference<?> reference) |
Adds a mandatory dependency on the service specified by the
service reference.
|
ServiceResolver |
ServiceResolver.addOptionalDependency(Class<?> clazz) |
Adds an optional dependency on the service specified by the
class.
|
ServiceResolver |
ServiceResolver.addOptionalDependency(String name,
String className) |
Adds an optional dependency on the service specified by the
service reference.
|
ServiceResolver |
ServiceResolver.addOptionalDependency(String name,
Filter filter) |
Adds an optional dependency on the service specified by the
filter.
|
ServiceResolver |
ServiceResolver.addOptionalDependency(String name,
ServiceReference<?> reference) |
Adds an optional dependency on the service specified by the
service reference.
|
ServiceResolver |
ServiceResolver.setOnDissolving(Runnable onDissolving) |
Sets the function to called when the resolver is about to leave the
resolved state, i.e.
|
ServiceResolver |
ServiceResolver.setOnRebound(Consumer<String> onRebound) |
Sets the function to be called when the preferred service
of a resolved dependency changes.
|
ServiceResolver |
ServiceResolver.setOnResolved(Runnable onResolved) |
Sets the function to called when the resolver has entered the
resolved state, i.e.
|