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