Package org.apache.felix.scr.impl.inject
Class DuplexReferenceMethods.DuplexReferenceMethod
java.lang.Object
org.apache.felix.scr.impl.inject.DuplexReferenceMethods.DuplexReferenceMethod
- All Implemented Interfaces:
ReferenceMethod
- Enclosing class:
DuplexReferenceMethods
private static final class DuplexReferenceMethods.DuplexReferenceMethod
extends Object
implements ReferenceMethod
-
Field Summary
FieldsFields inherited from interface org.apache.felix.scr.impl.inject.ReferenceMethod
NOPReferenceMethod
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<S,
T> boolean getServiceObject
(BindParameters parameters, org.osgi.framework.BundleContext context) invoke
(Object componentInstance, BindParameters parameters, MethodResult methodCallFailureResult) Invoke the reference method and bind/unbind/update the reference.
-
Field Details
-
methods
-
-
Constructor Details
-
DuplexReferenceMethod
-
-
Method Details
-
invoke
public MethodResult invoke(Object componentInstance, BindParameters parameters, MethodResult methodCallFailureResult) Description copied from interface:ReferenceMethod
Invoke the reference method and bind/unbind/update the reference.- Specified by:
invoke
in interfaceReferenceMethod
- Parameters:
componentInstance
- The component instanceparameters
- The parameters for the reference.methodCallFailureResult
- Return result for failure- Returns:
- The method result
-
getServiceObject
public <S,T> boolean getServiceObject(BindParameters parameters, org.osgi.framework.BundleContext context) - Specified by:
getServiceObject
in interfaceReferenceMethod
-