abstract class AbstractExtensionSetup[T <: Extension] extends ExtensionSetup[T]
Scala 2.11 API: Each extension typically provide a concrete ExtensionSetup
that can be used in
akka.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.
- Source
- Extensions.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AbstractExtensionSetup
- ExtensionSetup
- Setup
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new AbstractExtensionSetup(extId: ExtensionId[T], createExtension: (ActorSystem[_]) ⇒ T)
Value Members
-
final
def
and(other: Setup): ActorSystemSetup
Construct an ActorSystemSetup with this setup combined with another one.
Construct an ActorSystemSetup with this setup combined with another one. Allows for fluent creation of settings. If
other
is a setting of the same concrete Setup as this it will replace this.- Definition Classes
- Setup
-
val
createExtension: Function[ActorSystem[_], T]
- Definition Classes
- ExtensionSetup
-
val
extId: ExtensionId[T]
- Definition Classes
- ExtensionSetup