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