Package akka.actor.typed
Class ActorRefResolverSetup
- java.lang.Object
-
- akka.actor.setup.Setup
-
- akka.actor.typed.ExtensionSetup<ActorRefResolver>
-
- akka.actor.typed.ActorRefResolverSetup
-
public final class ActorRefResolverSetup extends ExtensionSetup<ActorRefResolver>
Can be used inActorSystemSetup
when starting theActorSystem
to replace the default implementation of theActorRefResolver
extension. Intended for tests that need to replace extension with stub/mock implementations.
-
-
Constructor Summary
Constructors Constructor Description ActorRefResolverSetup(java.util.function.Function<ActorSystem<?>,ActorRefResolver> createExtension)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends Extension>
ActorRefResolverSetupapply(scala.Function1<ActorSystem<?>,ActorRefResolver> createExtension)
-
Methods inherited from class akka.actor.typed.ExtensionSetup
createExtension, extId
-
-
-
-
Constructor Detail
-
ActorRefResolverSetup
public ActorRefResolverSetup(java.util.function.Function<ActorSystem<?>,ActorRefResolver> createExtension)
-
-
Method Detail
-
apply
public static <T extends Extension> ActorRefResolverSetup apply(scala.Function1<ActorSystem<?>,ActorRefResolver> createExtension)
-
-