Manifest API

The {@link oaj.microservice.Microservice#getManifest()} method is a static method that can be used to retrieve the manifest file as a {@link oaj.utils.ManifestFile}.

// Get Main-Class from manifest file. String mainClass = Microservice.getInstance().getManifest().getString("Main-Class", "unknown");

The {@link oaj.utils.ManifestFile} class extends {@link oaj.ObjectMap}, making it possible to retrieve entries as a wide variety of object types such as java primitives, arrays, collections, maps, or even POJOs serialized as JSON.