|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExtensionId<T extends Extension>
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.
Method Summary | |
---|---|
T |
apply(ActorSystem system)
Returns an instance of the extension identified by this ExtensionId instance. |
T |
createExtension(ExtendedActorSystem system)
Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only. |
T |
get(ActorSystem system)
Returns an instance of the extension identified by this ExtensionId instance. |
Method Detail |
---|
T apply(ActorSystem system)
T get(ActorSystem system)
override def get(system: ActorSystem): TheExtension = super.get(system)
T createExtension(ExtendedActorSystem system)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |