Click or drag to resize
IndirectActorProducer Interface
This interface defines a class of actor creation strategies deviating from the usual default of just reflectively instantiating the [[Actor]] subclass. It can be used to allow a dependency injection framework to determine the actual actor class and how it shall be instantiated.

Namespace: Akka.Actor
Assembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntax
public interface IndirectActorProducer

The IndirectActorProducer type exposes the following members.

Methods
  NameDescription
Public methodProduce
This factory method must produce a fresh actor instance upon each invocation. It is not permitted to return the same instance more than once.
Top
Properties
  NameDescription
Public propertyActorType
This method is used by [[Props]] to determine the type of actor which will be created. The returned type is not used to produce the actor.
Top
See Also