Mercurial > hg > Database > Christie
view src/main/java/christie/topology/node/Start.java @ 83:2314c55534ef
add TreeTopology
author | akahori |
---|---|
date | Sat, 15 Sep 2018 09:24:36 +0900 |
parents | 36c5c050394d |
children | e4d16deb9627 |
line wrap: on
line source
package christie.topology.node; import christie.annotation.Peek; import christie.annotation.PeekFrom; import christie.annotation.Take; import christie.codegear.CodeGear; import christie.codegear.CodeGearManager; import christie.test.topology.localTestTopology.LTRemoteIncrement; import org.apache.log4j.Logger; public class Start extends CodeGear { @Peek String start; private Logger logger = Logger.getLogger(Start.class); @Take CodeGear startCG; public Start() { } @Override protected void run(CodeGearManager cgm) { logger.info("Configuration finished."); if (startCG == null) return; cgm.setup(startCG); } }