public interface ReferenceMethod
Modifier and Type | Field and Description |
---|---|
static ReferenceMethod |
NOPReferenceMethod
A NOP implementation.
|
Modifier and Type | Method and Description |
---|---|
<S,T> boolean |
getServiceObject(BindParameters parameters,
org.osgi.framework.BundleContext context) |
<S,T> MethodResult |
invoke(java.lang.Object componentInstance,
BindParameters parameters,
MethodResult methodCallFailureResult)
Invoke the reference method and bind/unbind/update the reference.
|
static final ReferenceMethod NOPReferenceMethod
<S,T> MethodResult invoke(java.lang.Object componentInstance, BindParameters parameters, MethodResult methodCallFailureResult)
componentInstance
- The component instanceparameters
- The parameters for the reference.methodCallFailureResult
- Return result for failurelogger
- Logger<S,T> boolean getServiceObject(BindParameters parameters, org.osgi.framework.BundleContext context)