org.springframework.yarn.am
Interface ContainerLauncherInterceptor

All Known Implementing Classes:
AbstractProcessingAppmaster, StaticAppmaster

public interface ContainerLauncherInterceptor

Interface for interceptors that are able to view and/or modify the ContainerLaunchContext before the container is launched.

Author:
Janne Valkealahti

Method Summary
 ContainerLaunchContext preLaunch(Container container, ContainerLaunchContext context)
          Invoked before the ContainerLaunchContext is used to launch the container.
 

Method Detail

preLaunch

ContainerLaunchContext preLaunch(Container container,
                                 ContainerLaunchContext context)
Invoked before the ContainerLaunchContext is used to launch the container.

Parameters:
context - the ContainerLaunchContext
container - the Container
Returns:
Unchanged or modified ContainerLaunchContext