Interface LaunchInterceptor


  • public interface LaunchInterceptor
    Listens a launch at various steps of its execution. A launch interceptor implementation is registered using the com.sodius.mdw.server.launchInterceptor extension point.

    Clients may implement this interface.

    • Method Detail

      • launchStarted

        void launchStarted​(LaunchContext context)
                    throws CoreException
        Intercepts a launch once its execution is about to start.
        Parameters:
        context - the launch context
        Throws:
        CoreException - if anything prevents the launch from being executed.
      • launchCompleted

        void launchCompleted​(LaunchContext context)
                      throws CoreException
        Intercepts a launch once its execution is about to terminated. Launch termination might occur either on execution completion or cancellation.
        Parameters:
        context - the launch context
        Throws:
        CoreException - if anything prevents the launch from being terminated.