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 voidaddBolt(String id, Object bolt)voidaddComponent(String id, Object value)voidaddSpout(String id, IRichSpout spout)ObjectgetBolt(String id)ObjectgetComponent(String id)TopologyDefgetTopologyDef()
-
-
-
Constructor Detail
-
ExecutionContext
public ExecutionContext(TopologyDef topologyDef, Config config)
-
-
Method Detail
-
getTopologyDef
public TopologyDef getTopologyDef()
-
addSpout
public void addSpout(String id, IRichSpout spout)
-
-