cleaned up packaging in samples to all be "sample.x"

This commit is contained in:
Jonas Bonér 2010-04-05 12:32:15 +02:00
parent f04fbba47b
commit 30badd6cc0
9 changed files with 133 additions and 90 deletions

View file

@ -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();

View file

@ -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;

View file

@ -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;