Interface ReferenceMethod

    • Field Detail

      • NOPReferenceMethod

        static final ReferenceMethod NOPReferenceMethod
        A NOP implementation.
    • Method Detail

      • invoke

        <S,​T> MethodResult invoke​(Object componentInstance,
                                        BindParameters parameters,
                                        MethodResult methodCallFailureResult)
        Invoke the reference method and bind/unbind/update the reference.
        Parameters:
        componentInstance - The component instance
        parameters - The parameters for the reference.
        methodCallFailureResult - Return result for failure
        logger - Logger
        Returns:
        The method result
      • getServiceObject

        <S,​T> boolean getServiceObject​(BindParameters parameters,
                                             org.osgi.framework.BundleContext context)