Package akka.routing
Class RoutedActorCell.RouterActorCreator
- java.lang.Object
-
- akka.routing.RoutedActorCell.RouterActorCreator
-
- All Implemented Interfaces:
IndirectActorProducer
- Enclosing class:
- RoutedActorCell
public static class RoutedActorCell.RouterActorCreator extends java.lang.Object implements IndirectActorProducer
-
-
Constructor Summary
Constructors Constructor Description RouterActorCreator(RouterConfig routerConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<RouterActor>actorClass()This method is used byPropsto determine the type of actor which will be created.RouterActorproduce()
-
-
-
Constructor Detail
-
RouterActorCreator
public RouterActorCreator(RouterConfig routerConfig)
-
-
Method Detail
-
actorClass
public java.lang.Class<RouterActor> actorClass()
Description copied from interface:IndirectActorProducerThis method is used byPropsto determine the type of actor which will be created. This means that an instance of thisIndirectActorProducerwill 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 callingactorClassis not necessarily reused later to produce the actor.- Specified by:
actorClassin interfaceIndirectActorProducer- Returns:
- (undocumented)
-
produce
public RouterActor produce()
- Specified by:
producein interfaceIndirectActorProducer
-
-