java.lang.Object
tech.guilhermekaua.spigotboot.core.context.lifecycle.ContextLifecycle

public class ContextLifecycle extends Object
  • Constructor Details

    • ContextLifecycle

      public ContextLifecycle(@NotNull @NotNull Context context, @NotNull @NotNull DependencyManager dependencyManager, @NotNull @NotNull List<Class<? extends Module>> modulesToLoad)
  • Method Details

    • initialize

      public void initialize()
    • getCurrentPhase

      public ContextPhase getCurrentPhase()
    • destroy

      public void destroy(@NotNull @NotNull Runnable onDisable, @NotNull @NotNull Runnable shutdownHooks, @NotNull @NotNull Runnable preDestroyProcessors)
    • getBeanRegistrar

      public BeanRegistrar getBeanRegistrar()