clean up and stabilization, getting ready for M1

This commit is contained in:
jboner 2009-07-12 23:08:17 +02:00
parent 6a65c67ca7
commit 95d598fb66
119 changed files with 1839 additions and 5140 deletions

View file

@ -0,0 +1,19 @@
package sample.java;
import se.scalablesolutions.akka.kernel.config.ActiveObjectManager;
import static se.scalablesolutions.akka.kernel.config.JavaConfig.*;
public class Boot {
final private ActiveObjectManager manager = new ActiveObjectManager();
public Boot() throws Exception {
manager.configure(
new RestartStrategy(new OneForOne(), 3, 5000),
new Component[] {
new Component(
sample.java.SimpleService.class,
new LifeCycle(new Permanent(), 1000),
1000)
}).supervise();
}
}