public class LocalDirectorySetupHandler implements GFacHandler{
private static final Logger log = LoggerFactory.getLogger(LocalDirectorySetupHandler.class);
public void invoke(JobExecutionContext jobExecutionContext) throws GFacHandlerException {
log.info("Invoking GramDirectorySetupHandler ...");
HostDescriptionType type = jobExecutionContext.getApplicationContext().getHostDescription().getType();
ApplicationDescription applicationDeploymentDescription = jobExecutionContext.getApplicationContext().getApplicationDeploymentDescription();
ApplicationDeploymentDescriptionType app = applicationDeploymentDescription.getType();
log.debug("working diectroy = " + app.getStaticWorkingDirectory());
log.debug("temp directory = " + app.getScratchWorkingDirectory());