Step
and avoid Guice.@Deprecated public abstract class AbstractStepImpl extends Step
AbstractStepDescriptorImpl
and AbstractStepExecutionImpl
.Constructor and Description |
---|
AbstractStepImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected static com.google.inject.Injector |
prepareInjector(StepContext context,
Step step)
Deprecated.
|
StepExecution |
start(StepContext context)
Deprecated.
Constructs a step execution automatically according to
AbstractStepDescriptorImpl.getExecutionType() . |
getDescriptor
public final StepExecution start(StepContext context) throws Exception
AbstractStepDescriptorImpl.getExecutionType()
.start
in class Step
StepContext.onSuccess(Object)
or FutureCallback.onFailure(Throwable)
.
false if the asynchronous execution has started and that StepContext
will be notified when the result comes in. (Note that the nature of asynchrony is such that it is possible
for the StepContext
to be already notified before this method returns.)Exception
- if any exception is thrown, Step
is assumed to have completed abnormally synchronously
(as if FutureCallback.onFailure(java.lang.Throwable)
is called and the method returned true.)protected static com.google.inject.Injector prepareInjector(StepContext context, @Nullable Step step)
Copyright © 2016–2017. All rights reserved.