net.ninjacat.drama
Class ActorSystemFactory

java.lang.Object
  extended by net.ninjacat.drama.ActorSystemFactory

public class ActorSystemFactory
extends Object

Factory class for ActorSystem


Constructor Summary
ActorSystemFactory()
           
 
Method Summary
 ActorSystem create()
          Creates a new ActorSystem.
 ActorSystemFactory setThreadingStrategy(ThreadingStrategy threadingStrategy)
          Sets ThreadingStrategy for new instances of ActorSystems created by this factory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActorSystemFactory

public ActorSystemFactory()
Method Detail

setThreadingStrategy

public ActorSystemFactory setThreadingStrategy(ThreadingStrategy threadingStrategy)
Sets ThreadingStrategy for new instances of ActorSystems created by this factory

Parameters:
threadingStrategy - instance of ThreadingStrategy
Returns:
factory itself

create

public ActorSystem create()
Creates a new ActorSystem.

Returns:
appropriately configured instance of ActorSystem


Copyright © 2014. All rights reserved.