Removed exposure of RoutedActorRef in RouterConfig. See #1618

This commit is contained in:
Patrik Nordwall 2012-01-11 11:30:32 +01:00
parent b43a8440a1
commit 409cbaf8e2
3 changed files with 24 additions and 22 deletions

View file

@ -107,7 +107,7 @@ public class CustomRouterDocTestBase {
//#crRoute
@Override
public CustomRoute createCustomRoute(Props props, ActorContext context, RoutedActorRef ref) {
public CustomRoute createCustomRoute(Props props, ActorContext context) {
final ActorRef democratActor = context.actorOf(new Props(DemocratActor.class), "d");
final ActorRef republicanActor = context.actorOf(new Props(RepublicanActor.class), "r");
List<ActorRef> routees = Arrays.asList(new ActorRef[] { democratActor, republicanActor });