Package org.wso2.msf4j.deployer
Class MicroserviceDeploymentUtils
- java.lang.Object
-
- org.wso2.msf4j.deployer.MicroserviceDeploymentUtils
-
public class MicroserviceDeploymentUtils extends java.lang.ObjectDynamically initialising a set of objects from a given jar according to the manifest entry 'microservices'.
-
-
Constructor Summary
Constructors Constructor Description MicroserviceDeploymentUtils()
-
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.
-
-
-
Method Detail
-
getRourceInstances
public static java.util.List<java.lang.Object> getRourceInstances(java.io.File artifactFile) throws MicroserviceDeploymentExceptionInitialize 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
-
-