cleaned up packaging in samples to all be "sample.x"
This commit is contained in:
parent
f04fbba47b
commit
30badd6cc0
9 changed files with 133 additions and 90 deletions
|
|
@ -1,4 +1,4 @@
|
|||
package sample.java;
|
||||
package sample.rest.java;
|
||||
|
||||
import se.scalablesolutions.akka.config.ActiveObjectConfigurator;
|
||||
import static se.scalablesolutions.akka.config.JavaConfig.*;
|
||||
|
|
@ -11,11 +11,11 @@ public class Boot {
|
|||
new RestartStrategy(new OneForOne(), 3, 5000, new Class[]{Exception.class}),
|
||||
new Component[] {
|
||||
new Component(
|
||||
sample.java.SimpleService.class,
|
||||
SimpleService.class,
|
||||
new LifeCycle(new Permanent()),
|
||||
1000),
|
||||
new Component(
|
||||
sample.java.PersistentSimpleService.class,
|
||||
PersistentSimpleService.class,
|
||||
new LifeCycle(new Permanent()),
|
||||
1000)
|
||||
}).supervise();
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
* Copyright (C) 2009-2010 Scalable Solutions AB <http://scalablesolutions.se>
|
||||
*/
|
||||
|
||||
package sample.java;
|
||||
package sample.rest.java;
|
||||
|
||||
import javax.ws.rs.Path;
|
||||
import javax.ws.rs.GET;
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
* Copyright (C) 2009-2010 Scalable Solutions AB <http://scalablesolutions.se>
|
||||
*/
|
||||
|
||||
package sample.java;
|
||||
package sample.rest.java;
|
||||
|
||||
import javax.ws.rs.Path;
|
||||
import javax.ws.rs.GET;
|
||||
Loading…
Add table
Add a link
Reference in a new issue