Interface ApplicationLifecycleInterceptor

  • All Known Implementing Classes:
    MonitoringConsoleRuntimeImpl

    @Contract
    public interface ApplicationLifecycleInterceptor
    This class provides a call back mechanism at different points of the application lifecycle.
    • Method Detail

      • before

        void before​(ExtendedDeploymentContext.Phase phase,
                    ExtendedDeploymentContext context)
        Provide call back before a certain phase of the application lifecycle
        Parameters:
        phase - the application lifecycle phase which the call back will happen before
        context - the deployment context
      • after

        void after​(ExtendedDeploymentContext.Phase phase,
                   ExtendedDeploymentContext context)
        Provide call back after a certain phase of the application lifecycle
        Parameters:
        phase - the application lifecycle phase which the call back will happen after
        context - the deployment context