Package akka.actor
Class ArgsReflectConstructor
- java.lang.Object
-
- akka.actor.ArgsReflectConstructor
-
- All Implemented Interfaces:
IndirectActorProducer
public class ArgsReflectConstructor extends java.lang.Object implements IndirectActorProducer
INTERNAL API
-
-
Constructor Summary
Constructors Constructor Description ArgsReflectConstructor(java.lang.Class<? extends Actor> clz, scala.collection.immutable.Seq<java.lang.Object> args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<? extends Actor>
actorClass()
This method is used byProps
to determine the type of actor which will be created.Actor
produce()
-
-
-
Constructor Detail
-
ArgsReflectConstructor
public ArgsReflectConstructor(java.lang.Class<? extends Actor> clz, scala.collection.immutable.Seq<java.lang.Object> args)
-
-
Method Detail
-
actorClass
public java.lang.Class<? extends Actor> actorClass()
Description copied from interface:IndirectActorProducer
This method is used byProps
to determine the type of actor which will be created. This means that an instance of thisIndirectActorProducer
will be created in order to call this method during any call toProps.actorClass()
; it should be noted that such calls may performed during actor set-up before the actual actor’s instantiation, and that the instance created for callingactorClass
is not necessarily reused later to produce the actor.- Specified by:
actorClass
in interfaceIndirectActorProducer
- Returns:
- (undocumented)
-
produce
public Actor produce()
- Specified by:
produce
in interfaceIndirectActorProducer
-
-