Added trapExceptions to declarative supervisor configuration

This commit is contained in:
jboner 2009-11-30 21:22:24 +01:00
parent 72eda9780f
commit 7b1bae36a8
15 changed files with 50 additions and 41 deletions

View file

@ -20,7 +20,7 @@ public class PersistentNestedStateTest extends TestCase {
protected void setUp() {
PersistenceManager.init();
conf.configure(
new RestartStrategy(new AllForOne(), 3, 5000),
new RestartStrategy(new AllForOne(), 3, 5000, new Class[] {Exception.class}),
new Component[]{
// FIXME: remove string-name, add ctor to only accept target class
new Component(PersistentStateful.class, new LifeCycle(new Permanent()), 10000000),