Class AbstractExtensionSetup<T extends Extension>


public abstract class AbstractExtensionSetup<T extends Extension> extends ExtensionSetup<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 Details

    • AbstractExtensionSetup

      public AbstractExtensionSetup(ExtensionId<T> extId, scala.Function1<ActorSystem<?>,T> createExtension)