trait ExtensionId[T <: Extension] extends AnyRef
- Alphabetic
- By Inheritance
- ExtensionId
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def createExtension(system: ExtendedActorSystem): T
Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.
Concrete Value Members
- def apply(system: ClassicActorSystemProvider): T
Returns an instance of the extension identified by this ExtensionId instance.
- def apply(system: ActorSystem): T
Returns an instance of the extension identified by this ExtensionId instance.
- final def equals(other: Any): Boolean
- Definition Classes
- ExtensionId → AnyRef → Any
- def get(system: ClassicActorSystemProvider): T
Returns an instance of the extension identified by this ExtensionId instance.
Returns an instance of the extension identified by this ExtensionId instance. Java API For extensions written in Scala that are to be used from Java also, this method should be overridden to get correct return type.
override def get(system: ClassicActorSystemProvider): TheExtension = super.get(system)
- def get(system: ActorSystem): T
Returns an instance of the extension identified by this ExtensionId instance.
Returns an instance of the extension identified by this ExtensionId instance. Java API For extensions written in Scala that are to be used from Java also, this method should be overridden to get correct return type.
override def get(system: ActorSystem): TheExtension = super.get(system)
- final def hashCode(): Int
- Definition Classes
- ExtensionId → AnyRef → Any
Identifies an Extension Lookup of Extensions is done by object identity, so the Id must be the same wherever it's used, otherwise you'll get the same extension loaded multiple times.