Fixing ticket #450, lifeCycle = Permanent => boilerplate reduction
This commit is contained in:
parent
099820a258
commit
3efb427ca1
27 changed files with 103 additions and 112 deletions
|
|
@ -16,12 +16,12 @@ public class Boot {
|
|||
new Component(
|
||||
SimpleService.class,
|
||||
SimpleServiceImpl.class,
|
||||
new LifeCycle(new Permanent()),
|
||||
new Permanent(),
|
||||
1000),
|
||||
new Component(
|
||||
PersistentSimpleService.class,
|
||||
PersistentSimpleServiceImpl.class,
|
||||
new LifeCycle(new Permanent()),
|
||||
new Permanent(),
|
||||
1000)
|
||||
}).supervise();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue