Package com.sodius.mdw.server.launch
Interface LaunchInterceptor
-
public interface LaunchInterceptor
Listens a launch at various steps of its execution. A launch interceptor implementation is registered using thecom.sodius.mdw.server.launchInterceptor
extension point.Clients may implement this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
launchCompleted(LaunchContext context)
Intercepts a launch once its execution is about to terminated.void
launchScheduled(LaunchContext context)
Intercepts a launch once it is scheduled to execute.void
launchStarted(LaunchContext context)
Intercepts a launch once its execution is about to start.
-
-
-
Method Detail
-
launchScheduled
void launchScheduled(LaunchContext context) throws CoreException
Intercepts a launch once it is scheduled to execute. This method shall typically be used to customize the launch arguments.- Parameters:
context
- the launch context- Throws:
CoreException
- if anything prevents the launch from being scheduled.- See Also:
LaunchContext.setArgument(String, Argument)
-
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.
-
-