added interface for active object configurator, now with only guice impl class + added default servlet hooking into akka rest support via jersey
This commit is contained in:
parent
0243a60d01
commit
8c8ba29afc
19 changed files with 684 additions and 435 deletions
|
|
@ -77,9 +77,6 @@
|
|||
<orderEntry type="library" name="Maven: org.jmock:jmock:2.4.0" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.hamcrest:hamcrest-core:1.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.hamcrest:hamcrest-library:1.1" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.sun.jersey.test.framework:jersey-test-framework:1.0.3" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.glassfish.embedded:glassfish-embedded-all:3.0-Prelude-Embedded-b10" level="project" />
|
||||
<orderEntry type="library" name="Maven: com.sun.net.httpserver:http:20070405" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
|
||||
|
|
|
|||
|
|
@ -56,12 +56,6 @@
|
|||
<version>2.4.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.sun.jersey.test.framework</groupId>
|
||||
<artifactId>jersey-test-framework</artifactId>
|
||||
<version>1.0.3</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@ public class RestTest extends TestSuite {
|
|||
private static SelectorThread startJersey() throws IOException {
|
||||
Map initParams = new java.util.HashMap<String, String>();
|
||||
initParams.put("com.sun.jersey.config.property.packages", "se.scalablesolutions.akka.api");
|
||||
return GrizzlyWebContainerFactory.create(URI, initParams);
|
||||
//return GrizzlyWebContainerFactory.create(URI, initParams);
|
||||
return GrizzlyWebContainerFactory.create(URI, se.scalablesolutions.akka.kernel.jersey.AkkaServlet.class);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue