Package org.jboss.deployment.spi

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


      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()));
      jos.flush();
      jos.close();
View Full Code Here


     
        // Setup deployment plan meta data with proprietary descriptor
        DeploymentMetaData metaData = new DeploymentMetaData(deployment.getName());
     
        // Add the meta data to the deployment plan
        String metaStr = metaData.toXMLString();
     
        JarUtils.addJarEntry(jos, DeploymentMetaData.ENTRY_NAME, new ByteArrayInputStream(metaStr.getBytes()));
        return deploymentPlan;
     } finally {
        if (jos != null) {
View Full Code Here

         // Setup deployment plan meta data with proprietary descriptor
         DeploymentMetaData metaData = new DeploymentMetaData(deployment.getName());

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

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

         JBossConfigBeanProxy val = (JBossConfigBeanProxy)configBeans.get(key);
         val.save(jos, metaData);
      }
      try
      {
         String metaStr = metaData.toXMLString();
         JarUtils.addJarEntry(jos, DeploymentMetaData.ENTRY_NAME, new ByteArrayInputStream(metaStr.getBytes()));
         jos.flush();
         jos.close();
      }
      catch (Exception e)
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.