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.
    • Method Summary

      • Methods inherited from class org.apache.pekko.actor.setup.Setup

        and
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractExtensionSetup

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