The default akka.actor.ActorRefFactory
comes from the implicit system
.
The default scala.concurrent.ExecutionContext.
The default scala.concurrent.ExecutionContext.
comes from the implicit system
.
the akka.actor.ActorSystem that this wrapper wraps.
the akka.actor.ActorSystem that this wrapper wraps. the system will be configured to shut down gracefully on JVM shutdown.
Provides the root actor which supervises other actors and handles spray http requests. Use this wrapper as input anywhere you need access to an
ActorSystem
,ActorRefFactory
, orExecutionContext
. Since an app generally has oneActorSystem
, treat this wrapper like a singleton - create it on app startup and pass it to everywhere you need it.