Class FieldHandler.ReferenceMethodImpl

    • Constructor Detail

      • ReferenceMethodImpl

        public ReferenceMethodImpl​(org.apache.felix.scr.impl.inject.field.FieldHandler.METHOD_TYPE mt,
                                   FieldHandler handler)
    • Method Detail

      • invoke

        public <S,​T> MethodResult invoke​(Object componentInstance,
                                               BindParameters rawParameter,
                                               MethodResult methodCallFailureResult)
        Description copied from interface: ReferenceMethod
        Invoke the reference method and bind/unbind/update the reference.
        Specified by:
        invoke in interface ReferenceMethod
        Parameters:
        componentInstance - The component instance
        rawParameter - The parameters for the reference.
        methodCallFailureResult - Return result for failure
        Returns:
        The method result