Class MicroserviceDeploymentUtils


  • public class MicroserviceDeploymentUtils
    extends java.lang.Object
    Dynamically initialising a set of objects from a given jar according to the manifest entry 'microservices'.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<java.lang.Object> getRourceInstances​(java.io.File artifactFile)
      Initialize a list of objects from the jar for the specified classes in the jar's manifest file under 'microservices' key.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MicroserviceDeploymentUtils

        public MicroserviceDeploymentUtils()
    • Method Detail

      • getRourceInstances

        public static java.util.List<java.lang.Object> getRourceInstances​(java.io.File artifactFile)
                                                                   throws MicroserviceDeploymentException
        Initialize a list of objects from the jar for the specified classes in the jar's manifest file under 'microservices' key.
        Returns:
        micro services object list
        Throws:
        MicroserviceDeploymentException - if an error occurs while processing the jar file