Interface ConnectionConfigurationCallback

  • 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 ConnectionConfigurationCallback
    Callback called during the ConnectionConfigurationHandler and UpdateConnectionConfigurationHandler execution, may be used to provide custom connection configuration logic.

    Default implementation of this callback calls the PUBLIC.SET_CONNECTION_CONFIGURATION_INTERNAL procedure.

    Draft implementation of this callback calls the PUBLIC.DRAFT_CONNECTION_CONFIGURATION_INTERNAL procedure.

    • Method Detail

      • execute

        ConnectorResponse execute​(Variant configuration)
        Executes logic using the provided connection configuration.
        Parameters:
        configuration - connection configuration provided to the handler
        Returns:
        a response with the code OK if the execution was successful, otherwise a response with an error code and an error message