class OsgiActorSystemFactory extends AnyRef
Factory class to create ActorSystem implementations in an OSGi environment. This mainly involves dealing with bundle classloaders appropriately to ensure that configuration files and classes get loaded properly
- Alphabetic
- By Inheritance
- OsgiActorSystemFactory
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new OsgiActorSystemFactory(context: BundleContext, fallbackClassLoader: Option[ClassLoader], config: Config = ConfigFactory.empty)
Value Members
-
def
actorSystemConfig(context: BundleContext): Config
Strategy method to create the Config for the ActorSystem ensuring that the default/reference configuration is loaded from the akka-actor bundle.
Strategy method to create the Config for the ActorSystem ensuring that the default/reference configuration is loaded from the akka-actor bundle. Configuration files found in akka-actor bundle
-
def
actorSystemName(name: Option[String]): String
Determine the name for the akka.actor.ActorSystem Returns a default value of
bundle-<bundle id>-ActorSystemis no name is being specified - val context: BundleContext
-
def
createActorSystem(name: Option[String]): ActorSystem
Creates the akka.actor.ActorSystem, using the name specified.
Creates the akka.actor.ActorSystem, using the name specified.
A default name (
bundle-<bundle id>-ActorSystem) is assigned when you pass along scala.None instead. -
def
createActorSystem(name: String): ActorSystem
Creates the akka.actor.ActorSystem, using the name specified
- val fallbackClassLoader: Option[ClassLoader]