Package org.jboss.deployment.spi

Examples of org.jboss.deployment.spi.DeploymentMetaData.addEntry()


      // Setup deployment plan meta data with propriatary descriptor
      DeploymentMetaData metaData = new DeploymentMetaData(deploymentFile);

      strs = jbossFile.split("/");
      metaData.addEntry(deploymentFile, strs[strs.length - 1]);

      // Add the meta data to the deployment plan
      String metaStr = metaData.toXMLString();

      JarUtils.addJarEntry(jos, DeploymentMetaData.ENTRY_NAME, new ByteArrayInputStream(metaStr.getBytes()));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.