Package ratpack.exec

Interface ExecInitializer

  • 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 ExecInitializer
    • Method Detail

      • init

        void init​(Execution execution)
        Called before the execution is started in order to perform any initialisation.

        Implementations of this method typically add objects to the execution (as it's a registry).

        This is called before ExecStarter.start(Action), but after ExecStarter.onStart(Action).

        Parameters:
        execution - the execution that is about to be started.