All Methods Instance Methods Concrete Methods Modifier and Type Method Description
java.lang.Class<? extends Actor>
actorClass()This method is used by
Propsto determine the type of actor which will be created.
produce()This factory method must produce a fresh actor instance upon each invocation.
public java.lang.Class<? extends Actor> actorClass()Description copied from interface:
IndirectActorProducerThis method is used by
Propsto determine the type of actor which will be created. This means that an instance of this
IndirectActorProducerwill be created in order to call this method during any call to
Props.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 calling
actorClassis not necessarily reused later to produce the actor.