public static final class FieldHandler.ReferenceMethodImpl extends Object implements ReferenceMethod
NOPReferenceMethod| Constructor and Description |
|---|
ReferenceMethodImpl(org.apache.felix.scr.impl.inject.field.FieldHandler.METHOD_TYPE mt,
FieldHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
<S,T> boolean |
getServiceObject(BindParameters rawParameter,
org.osgi.framework.BundleContext context) |
<S,T> MethodResult |
invoke(Object componentInstance,
BindParameters rawParameter,
MethodResult methodCallFailureResult)
Invoke the reference method and bind/unbind/update the reference.
|
public ReferenceMethodImpl(org.apache.felix.scr.impl.inject.field.FieldHandler.METHOD_TYPE mt,
FieldHandler handler)
public <S,T> MethodResult invoke(Object componentInstance, BindParameters rawParameter, MethodResult methodCallFailureResult)
ReferenceMethodinvoke in interface ReferenceMethodcomponentInstance - The component instancerawParameter - The parameters for the reference.methodCallFailureResult - Return result for failurepublic <S,T> boolean getServiceObject(BindParameters rawParameter, org.osgi.framework.BundleContext context)
getServiceObject in interface ReferenceMethodCopyright © 2006–2020 The Apache Software Foundation. All rights reserved.