Class ManifestInfo$

java.lang.Object
org.apache.pekko.util.ManifestInfo$
All Implemented Interfaces:
ExtensionId<ManifestInfo>, ExtensionIdProvider

public class ManifestInfo$ extends Object implements ExtensionId<ManifestInfo>, ExtensionIdProvider
Apache Pekko extension that extracts ManifestInfo.Version information from META-INF/MANIFEST.MF in jar files on the classpath of the ClassLoader of the ActorSystem.
  • Field Details

    • MODULE$

      public static final ManifestInfo$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • ManifestInfo$

      public ManifestInfo$()
  • Method Details

    • get

      public ManifestInfo get(ActorSystem system)
      Description copied from interface: ExtensionId
      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)
       
      Specified by:
      get in interface ExtensionId<ManifestInfo>
    • get

      Description copied from interface: ExtensionId
      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)
       
      Specified by:
      get in interface ExtensionId<ManifestInfo>
    • lookup

      public ManifestInfo$ lookup()
      Description copied from interface: ExtensionIdProvider
      Returns the canonical ExtensionId for this Extension
      Specified by:
      lookup in interface ExtensionIdProvider
    • createExtension

      public ManifestInfo createExtension(ExtendedActorSystem system)
      Description copied from interface: ExtensionId
      Is used by Pekko to instantiate the Extension identified by this ExtensionId, internal use only.
      Specified by:
      createExtension in interface ExtensionId<ManifestInfo>