public final class GatewayStepRegistry extends java.lang.Object implements StepRegistry
StepFactory
s.
You can get an instance of this class via: GatewayStepRegistry.get()
.
Modifier and Type | Method and Description |
---|---|
static GatewayStepRegistry |
get() |
com.google.common.base.Optional<StepFactory> |
getStepFactory(java.lang.String id)
Get the
StepFactory identified by id . |
void |
register(StepFactory factory)
Register a
StepFactory . |
void |
unregister(StepFactory factory)
Unregister a
StepFactory . |
public static GatewayStepRegistry get()
GatewayStepRegistry
singleton.public void register(StepFactory factory)
StepFactory
.factory
- the StepFactory
to register.public void unregister(StepFactory factory)
StepFactory
.factory
- the StepFactory
to unregister.public com.google.common.base.Optional<StepFactory> getStepFactory(java.lang.String id)
StepFactory
identified by id
.getStepFactory
in interface StepRegistry
id
- the id of the factory to get.StepFactory
identified by id
.