private static final class DuplexReferenceMethods.DuplexReferenceMethod extends java.lang.Object implements ReferenceMethod
Modifier and Type | Field and Description |
---|---|
private ReferenceMethod[] |
methods |
NOPReferenceMethod
Constructor and Description |
---|
DuplexReferenceMethod(ReferenceMethod[] methods) |
Modifier and Type | Method and Description |
---|---|
<S,T> boolean |
getServiceObject(BindParameters parameters,
org.osgi.framework.BundleContext context) |
MethodResult |
invoke(java.lang.Object componentInstance,
BindParameters parameters,
MethodResult methodCallFailureResult)
Invoke the reference method and bind/unbind/update the reference.
|
private final ReferenceMethod[] methods
public DuplexReferenceMethod(ReferenceMethod[] methods)
public MethodResult invoke(java.lang.Object componentInstance, BindParameters parameters, MethodResult methodCallFailureResult)
ReferenceMethod
invoke
in interface ReferenceMethod
componentInstance
- The component instanceparameters
- The parameters for the reference.methodCallFailureResult
- Return result for failurepublic <S,T> boolean getServiceObject(BindParameters parameters, org.osgi.framework.BundleContext context)
getServiceObject
in interface ReferenceMethod