Upgraded API for Jersey and Atmosphere
This commit is contained in:
parent
53e85dbb8f
commit
2883a379ba
2 changed files with 4 additions and 1 deletions
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
package se.scalablesolutions.akka.rest
|
||||
|
||||
import com.sun.jersey.core.spi.component.ComponentScope
|
||||
import com.sun.jersey.core.spi.component.ioc.IoCFullyManagedComponentProvider
|
||||
|
||||
import config.Configurator
|
||||
|
|
@ -11,6 +12,8 @@ import util.Logging
|
|||
|
||||
class ActorComponentProvider(val clazz: Class[_], val configurators: List[Configurator])
|
||||
extends IoCFullyManagedComponentProvider with Logging {
|
||||
|
||||
override def getScope = ComponentScope.Singleton
|
||||
|
||||
override def getInstance: AnyRef = {
|
||||
val instances = for {
|
||||
|
|
|
|||
2
pom.xml
2
pom.xml
|
|
@ -29,7 +29,7 @@
|
|||
<maven.compiler.encoding>${project.build.sourceEncoding}</maven.compiler.encoding>
|
||||
<project.reporting.outputEncoding>${project.build.sourceEncoding}</project.reporting.outputEncoding>
|
||||
<atmosphere.version>0.5-SNAPSHOT</atmosphere.version>
|
||||
<jersey.version>1.1.4</jersey.version>
|
||||
<jersey.version>1.1.5-ea-SNAPSHOT</jersey.version>
|
||||
<grizzly.version>1.9.18-i</grizzly.version>
|
||||
</properties>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue