Class ReceptionistSetup
java.lang.Object
org.apache.pekko.actor.setup.Setup
org.apache.pekko.actor.typed.ExtensionSetup<Receptionist>
org.apache.pekko.actor.typed.receptionist.ReceptionistSetup
Can be used in
pekko.actor.setup.ActorSystemSetup when starting the ActorSystem
to replace the default implementation of the Receptionist extension. Intended
for tests that need to replace extension with stub/mock implementations.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Extension>
ReceptionistSetupapply(scala.Function1<ActorSystem<?>, Receptionist> createExtension) Methods inherited from class org.apache.pekko.actor.typed.ExtensionSetup
createExtension, extId
-
Constructor Details
-
ReceptionistSetup
-
-
Method Details
-
apply
public static <T extends Extension> ReceptionistSetup apply(scala.Function1<ActorSystem<?>, Receptionist> createExtension)
-