Class FunctionInitializer

java.lang.Object
io.micronaut.function.executor.AbstractExecutor
io.micronaut.function.executor.FunctionInitializer
All Implemented Interfaces:
ApplicationContextProvider, Closeable, AutoCloseable

public class FunctionInitializer extends AbstractExecutor
A super class that can be used to initialize a function.
Since:
1.0
Author:
Graeme Rocher
  • Field Details

    • closeContext

      protected final boolean closeContext
  • Constructor Details

    • FunctionInitializer

      public FunctionInitializer()
      Constructor.
    • FunctionInitializer

      protected FunctionInitializer(ApplicationContext applicationContext)
      Start a function for an existing ApplicationContext.
      Parameters:
      applicationContext - The application context
    • FunctionInitializer

      protected FunctionInitializer(ApplicationContext applicationContext, boolean inject)
      Start a function for an existing ApplicationContext.
      Parameters:
      applicationContext - The application context
      inject - inject this into the application flag
  • Method Details