Interface IPhaseProvider

All Superinterfaces:
IComponent, IComponentProvider, IInitializable, IURIResolver

public interface IPhaseProvider extends IComponentProvider
A provider that exposes the various phases
  • Method Details

    • preInit

      default void preInit(String configLocation) throws InitializationException
      Do any actions that have to be done before the async init starts in another thread.
      Parameters:
      configLocation - the location that holds all of the config parameters
      Throws:
      InitializationException
    • initializePhases

      void initializePhases(String configLocation) throws InitializationException
      This is the main api that begins all initialization... Lots of internal bootstrapping going on here...
      Parameters:
      configLocation - the location that holds all of the config parameters
      Throws:
      InitializationException
    • isPhaseInitialized

      boolean isPhaseInitialized(String phaseName)
      Returns whether the phase with the given name has been initialized
      Parameters:
      phaseName - the phase name to check
      Returns:
      true if the requested phase has been initialized, false otherwise
    • getPhase

      IPhase getPhase(String phaseName)
      Returns phase component by its name
      Parameters:
      phaseName - phase name
      Returns:
      IPhase component or null