/** * Register a context with the current thread - always put a matching * {@link #close()} call in a finally block to ensure that the correct * context is available in the enclosing block. * * @param JobExecution the step context to register * @return a new {@link JobContext} or the current one if it has the same * {@link JobExecution} */ public static JobContext register(JobExecution JobExecution) { return manager.register(JobExecution); }
/** * Register a context with the current thread - always put a matching * {@link #close()} call in a finally block to ensure that the correct * context is available in the enclosing block. * * @param stepExecution the step context to register * @return a new {@link StepContext} or the current one if it has the same * {@link StepExecution} */ public static StepContext register(StepExecution stepExecution) { return manager.register(stepExecution); }
/** * Register a context with the current thread - always put a matching * {@link #close()} call in a finally block to ensure that the correct * context is available in the enclosing block. * * @param stepExecution the step context to register * @param propertyContext an instance of {@link BatchPropertyContext} to be * used by the StepSynchronizationManager. * @return a new {@link StepContext} or the current one if it has the same * {@link StepExecution} */ public static StepContext register(StepExecution stepExecution, BatchPropertyContext propertyContext) { return manager.register(stepExecution, propertyContext); }
/** * Register a context with the current thread - always put a matching * {@link #close()} call in a finally block to ensure that the correct * context is available in the enclosing block. * * @param stepExecution the step context to register * @return a new {@link StepContext} or the current one if it has the same * {@link StepExecution} */ public static StepContext register(StepExecution stepExecution) { return manager.register(stepExecution); }
/** * Register a context with the current thread - always put a matching * {@link #close()} call in a finally block to ensure that the correct * context is available in the enclosing block. * * @param JobExecution the step context to register * @return a new {@link JobContext} or the current one if it has the same * {@link JobExecution} */ public static JobContext register(JobExecution JobExecution) { return manager.register(JobExecution); }
/** * Register a context with the current thread - always put a matching * {@link #close()} call in a finally block to ensure that the correct * context is available in the enclosing block. * * @param stepExecution the step context to register * @return a new {@link StepContext} or the current one if it has the same * {@link StepExecution} */ public static StepContext register(StepExecution stepExecution) { return manager.register(stepExecution); }
/** * Register a context with the current thread - always put a matching * {@link #close()} call in a finally block to ensure that the correct * context is available in the enclosing block. * * @param JobExecution the step context to register * @return a new {@link JobContext} or the current one if it has the same * {@link JobExecution} */ public static JobContext register(JobExecution JobExecution) { return manager.register(JobExecution); }
/** * Register a context with the current thread - always put a matching * {@link #close()} call in a finally block to ensure that the correct * context is available in the enclosing block. * * @param stepExecution the step context to register * @return a new {@link StepContext} or the current one if it has the same * {@link StepExecution} */ public static StepContext register(StepExecution stepExecution, BatchPropertyContext propertyContext) { return manager.register(stepExecution, propertyContext); }
/** * Register a context with the current thread - always put a matching * {@link #close()} call in a finally block to ensure that the correct * context is available in the enclosing block. * * @param JobExecution the step context to register * @return a new {@link JobContext} or the current one if it has the same * {@link JobExecution} */ public static JobContext register(JobExecution JobExecution) { return manager.register(JobExecution); }
/** * Register a context with the current thread - always put a matching * {@link #close()} call in a finally block to ensure that the correct * context is available in the enclosing block. * * @param stepExecution the step context to register * @return a new {@link StepContext} or the current one if it has the same * {@link StepExecution} */ public static StepContext register(StepExecution stepExecution) { return manager.register(stepExecution); }
/** * Register a context with the current thread - always put a matching * {@link #close()} call in a finally block to ensure that the correct * context is available in the enclosing block. * * @param stepExecution the step context to register * @param propertyContext an instance of {@link BatchPropertyContext} to be * used by the StepSynchronizationManager. * @return a new {@link StepContext} or the current one if it has the same * {@link StepExecution} */ public static StepContext register(StepExecution stepExecution, BatchPropertyContext propertyContext) { return manager.register(stepExecution, propertyContext); }
/** * Register a context with the current thread - always put a matching * {@link #close()} call in a finally block to ensure that the correct * context is available in the enclosing block. * * @param stepExecution the step context to register * @param propertyContext an instance of {@link BatchPropertyContext} to be * used by the StepSynchronizationManager. * @return a new {@link StepContext} or the current one if it has the same * {@link StepExecution} */ public static StepContext register(StepExecution stepExecution, BatchPropertyContext propertyContext) { return manager.register(stepExecution, propertyContext); }