org.springframework.boot.actuate.endpoint.invoke

Interface OperationInvokerAdvisor

  • All Known Implementing Classes:
    CachingOperationInvokerAdvisor
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.


    @FunctionalInterface
    public interface OperationInvokerAdvisor
    Allows additional functionality to be applied to an OperationInvoker.
    Since:
    2.0.0
    Author:
    Phillip Webb
    • Method Detail

      • apply

        OperationInvoker apply(String endpointId,
                               OperationType operationType,
                               OperationParameters parameters,
                               OperationInvoker invoker)
        Apply additional functionality to the given invoker.
        Parameters:
        endpointId - the endpoint ID
        operationType - the operation type
        parameters - the operation parameters
        invoker - the invoker to advise
        Returns:
        an potentially new operation invoker with support for additional features