|
|||||||||
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. |
boolean |
equals(java.lang.Object other)
|
T |
get(ActorSystem system)
Returns an instance of the extension identified by this ExtensionId instance. |
int |
hashCode()
|
Method Detail |
---|
T apply(ActorSystem system)
system
- (undocumented)
T get(ActorSystem system)
override def get(system: ActorSystem): TheExtension = super.get(system)
system
- (undocumented)
T createExtension(ExtendedActorSystem system)
system
- (undocumented)
int hashCode()
hashCode
in class java.lang.Object
boolean equals(java.lang.Object other)
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |