akka.osgi.aries.blueprint
Class BlueprintActorSystemFactory

java.lang.Object
  extended by akka.osgi.OsgiActorSystemFactory
      extended by akka.osgi.aries.blueprint.BlueprintActorSystemFactory

public class BlueprintActorSystemFactory
extends OsgiActorSystemFactory

A set of helper/factory classes to build a Akka system using Blueprint. This class is only meant to be used by the NamespaceHandler class, you should not use this class directly.

If you're looking for a way to set up Akka using Blueprint without the namespace handler, you should use OsgiActorSystemFactory instead.


Constructor Summary
BlueprintActorSystemFactory(org.osgi.framework.BundleContext context, java.lang.String name)
           
BlueprintActorSystemFactory(org.osgi.framework.BundleContext context, java.lang.String name, scala.Option<java.lang.ClassLoader> fallbackClassLoader)
           
 
Method Summary
 com.typesafe.config.Config actorSystemConfig(org.osgi.framework.BundleContext context)
          Strategy method to create the Config for the ActorSystem, ensuring that the default/reference configuration is loaded from the akka-actor bundle.
 scala.Option<java.lang.String> config()
           
 ActorSystem create()
           
 void destroy()
           
 void setConfig(java.lang.String config)
           
 ActorSystem system()
           
 
Methods inherited from class akka.osgi.OsgiActorSystemFactory
actorSystemName, akkaActorClassLoader, apply, context, createActorSystem, createActorSystem, fallbackClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlueprintActorSystemFactory

public BlueprintActorSystemFactory(org.osgi.framework.BundleContext context,
                                   java.lang.String name,
                                   scala.Option<java.lang.ClassLoader> fallbackClassLoader)

BlueprintActorSystemFactory

public BlueprintActorSystemFactory(org.osgi.framework.BundleContext context,
                                   java.lang.String name)
Method Detail

config

public scala.Option<java.lang.String> config()

system

public ActorSystem system()

setConfig

public void setConfig(java.lang.String config)

create

public ActorSystem create()

destroy

public void destroy()

actorSystemConfig

public com.typesafe.config.Config actorSystemConfig(org.osgi.framework.BundleContext context)
Strategy method to create the Config for the ActorSystem, ensuring that the default/reference configuration is loaded from the akka-actor bundle.

Overrides:
actorSystemConfig in class OsgiActorSystemFactory