Packages

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

Source
OsgiActorSystemFactory.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OsgiActorSystemFactory
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new OsgiActorSystemFactory(context: BundleContext, fallbackClassLoader: Option[ClassLoader], config: Config = ConfigFactory.empty)

Value Members

  1. 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

  2. def actorSystemName(name: Option[String]): String

    Determine the name for the akka.actor.ActorSystem Returns a default value of bundle-<bundle id>-ActorSystem is no name is being specified

  3. val context: BundleContext
  4. 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.

  5. def createActorSystem(name: String): ActorSystem

    Creates the akka.actor.ActorSystem, using the name specified

  6. val fallbackClassLoader: Option[ClassLoader]