Class DuplexReferenceMethods.DuplexReferenceMethod
java.lang.Object
org.apache.felix.scr.impl.inject.internal.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 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:ReferenceMethodInvoke the reference method and bind/unbind/update the reference.- Specified by:
invokein 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:
getServiceObjectin interfaceReferenceMethod
-