Mercurial > hg > Database > jungle-network
annotate src/jungle/test/bbs/DistributeApp.java @ 59:8a532ca5df80
refactoring LogUpdateCodeSegment and ChildLogCheckCodeSegment
author | one |
---|---|
date | Mon, 15 Jul 2013 10:59:53 +0900 |
parents | ab8c655ef457 |
children | ebf42371454b |
rev | line source |
---|---|
38 | 1 package jungle.test.bbs; |
2 | |
3 import javax.servlet.Servlet; | |
4 | |
59
8a532ca5df80
refactoring LogUpdateCodeSegment and ChildLogCheckCodeSegment
one
parents:
48
diff
changeset
|
5 import jungle.test.bbs.codesegment.LogUpdateCodeSegment; |
42 | 6 import jungle.test.bbs.codesegment.StartBBSCodeSegment; |
40 | 7 |
38 | 8 import org.mortbay.jetty.Server; |
9 import org.mortbay.jetty.servlet.ServletHandler; | |
10 import org.mortbay.jetty.servlet.ServletHolder; | |
11 | |
39 | 12 import alice.daemon.AliceDaemon; |
13 import alice.datasegment.DataSegment; | |
14 import alice.jungle.remote.RemoteConfig; | |
42 | 15 import alice.topology.node.StartTopologyNode; |
16 import alice.topology.node.TopologyNode; | |
39 | 17 |
38 | 18 /** |
19 * Hello world! | |
20 * | |
21 */ | |
39 | 22 public class DistributeApp |
38 | 23 { |
24 public static void main( String[] args ) throws Exception | |
25 { | |
39 | 26 RemoteConfig conf = new RemoteConfig(args); |
48 | 27 new TopologyNode(conf, new StartBBSCodeSegment(conf.bbsPort)); |
38 | 28 } |
29 } |