Package org.apache.pekko.actor.typed
Class AbstractExtensionSetup<T extends Extension>
java.lang.Object
org.apache.pekko.actor.setup.Setup
org.apache.pekko.actor.typed.ExtensionSetup<T>
org.apache.pekko.actor.typed.AbstractExtensionSetup<T>
Scala 2.11 API: Each extension typically provide a concrete
ExtensionSetup that can be used in
pekko.actor.setup.ActorSystemSetup when starting the ActorSystem to replace the default
implementation of the extension. Intended for tests that need to replace
extension with stub/mock implementations.-
Constructor Summary
ConstructorsConstructorDescriptionAbstractExtensionSetup(ExtensionId<T> extId, scala.Function1<ActorSystem<?>, T> createExtension) -
Method Summary
Methods inherited from class org.apache.pekko.actor.typed.ExtensionSetup
createExtension, extId
-
Constructor Details
-
AbstractExtensionSetup
public AbstractExtensionSetup(ExtensionId<T> extId, scala.Function1<ActorSystem<?>, T> createExtension)
-