Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F82919342
Boot.scala
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Sep 14, 05:24
Size
491 B
Mime Type
text/x-c++
Expires
Mon, Sep 16, 05:24 (1 d, 22 h)
Engine
blob
Format
Raw Data
Handle
20772032
Attached To
R2664 SHRINE MedCo Fork
Boot.scala
View Options
package net.shrine.admin
import akka.actor.{Props, ActorSystem}
import spray.servlet.WebBoot
// this class is instantiated by the servlet initializer
// it needs to have a default constructor and implement
// the spray.servlet.WebBoot trait
class Boot extends WebBoot {
// we need an ActorSystem to host our application in
val system = ActorSystem("sprayServer")
// the service actor replies to incoming HttpRequests
val serviceActor = system.actorOf(Props[AdminServiceActor])
}
Event Timeline
Log In to Comment