Package org.apache.storm.flux.model
Class ExecutionContext
- java.lang.Object
-
- org.apache.storm.flux.model.ExecutionContext
-
public class ExecutionContext extends Object
Container for all the objects required to instantiate a topology.
-
-
Constructor Summary
Constructors Constructor Description ExecutionContext(TopologyDef topologyDef, Config config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBolt(String id, Object bolt)
void
addComponent(String id, Object value)
void
addSpout(String id, IRichSpout spout)
Object
getBolt(String id)
Object
getComponent(String id)
TopologyDef
getTopologyDef()
-
-
-
Constructor Detail
-
ExecutionContext
public ExecutionContext(TopologyDef topologyDef, Config config)
-
-
Method Detail
-
getTopologyDef
public TopologyDef getTopologyDef()
-
addSpout
public void addSpout(String id, IRichSpout spout)
-
-