akka.osgi.aries.blueprint
Class BlueprintActorSystemFactory
java.lang.Object
akka.osgi.OsgiActorSystemFactory
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.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
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