akka.actor
Class ExtendedActorSystem

java.lang.Object
  extended by akka.actor.ActorSystem
      extended by akka.actor.ExtendedActorSystem
All Implemented Interfaces:
ActorRefFactory
Direct Known Subclasses:
ActorSystemImpl

public abstract class ExtendedActorSystem
extends ActorSystem

More powerful interface to the actor system’s implementation which is presented to extensions (see Extension).

Important Notice:

This class is not meant to be extended by user code. If you want to actually roll your own Akka, beware that you are completely on your own in that case!


Nested Class Summary
 
Nested classes/interfaces inherited from class akka.actor.ActorSystem
ActorSystem.Settings
 
Constructor Summary
ExtendedActorSystem()
           
 
Method Summary
abstract  DynamicAccess dynamicAccess()
          ClassLoader wrapper which is used for reflective accesses internally.
abstract  InternalActorRef guardian()
          The top-level supervisor of all actors created using system.actorOf(...).
abstract  java.lang.String printTree()
          For debugging: traverse actor hierarchy and make string representation.
abstract  ActorRefProvider provider()
          The ActorRefProvider is the only entity which creates all actor references within this actor system.
abstract  ActorRef systemActorOf(Props props, java.lang.String name)
          Create an actor in the "/system" namespace.
abstract  InternalActorRef systemGuardian()
          The top-level supervisor of all system-internal services like logging.
abstract  java.util.concurrent.ThreadFactory threadFactory()
          A ThreadFactory that can be used if the transport needs to create any Threads
 
Methods inherited from class akka.actor.ActorSystem
apply, apply, apply, apply, apply, awaitTermination, awaitTermination, child, create, create, create, create, create, deadLetters, descendant, dispatcher, dispatchers, EnvHome, eventStream, extension, findClassLoader, GlobalHome, hasExtension, isTerminated, log, logConfiguration, mailboxes, name, registerExtension, registerOnTermination, registerOnTermination, scheduler, settings, shutdown, startTime, SystemHome, uptime, Version
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface akka.actor.ActorRefFactory
actorFor, actorFor, actorFor, actorFor, actorOf, actorOf, actorSelection, actorSelection, lookupRoot, stop, systemImpl
 

Constructor Detail

ExtendedActorSystem

public ExtendedActorSystem()
Method Detail

provider

public abstract ActorRefProvider provider()
The ActorRefProvider is the only entity which creates all actor references within this actor system.

Returns:
(undocumented)

guardian

public abstract InternalActorRef guardian()
The top-level supervisor of all actors created using system.actorOf(...).

Returns:
(undocumented)

systemGuardian

public abstract InternalActorRef systemGuardian()
The top-level supervisor of all system-internal services like logging.

Returns:
(undocumented)

systemActorOf

public abstract ActorRef systemActorOf(Props props,
                                       java.lang.String name)
Create an actor in the "/system" namespace. This actor will be shut down during system shutdown only after all user actors have terminated.

Parameters:
props - (undocumented)
name - (undocumented)
Returns:
(undocumented)

threadFactory

public abstract java.util.concurrent.ThreadFactory threadFactory()
A ThreadFactory that can be used if the transport needs to create any Threads

Returns:
(undocumented)

dynamicAccess

public abstract DynamicAccess dynamicAccess()
ClassLoader wrapper which is used for reflective accesses internally. This is set to use the context class loader, if one is set, or the class loader which loaded the ActorSystem implementation. The context class loader is also set on all threads created by the ActorSystem, if one was set during creation.

Returns:
(undocumented)

printTree

public abstract java.lang.String printTree()
For debugging: traverse actor hierarchy and make string representation. Careful, this may OOM on large actor systems, and it is only meant for helping debugging in case something already went terminally wrong.

Returns:
(undocumented)