Package akka.actor

Interface ExtensionId<T extends Extension>

    • Method Detail

      • apply

        T apply​(ActorSystem system)
        Returns an instance of the extension identified by this ExtensionId instance.
        Parameters:
        system - (undocumented)
        Returns:
        (undocumented)
      • createExtension

        T createExtension​(ExtendedActorSystem system)
        Is used by Akka to instantiate the Extension identified by this ExtensionId, internal use only.
        Parameters:
        system - (undocumented)
        Returns:
        (undocumented)
      • equals

        boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • get

        T get​(ActorSystem system)
        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)
         

        Parameters:
        system - (undocumented)
        Returns:
        (undocumented)
      • hashCode

        int hashCode()
        Overrides:
        hashCode in class java.lang.Object