Package org.jboss.as.ee.deployment.spi

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


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

        // Add the meta data to the deployment plan
        String metaStr = metaData.toXMLString();
        JarUtils.addJarEntry(plan, DeploymentMetaData.ENTRY_NAME, new ByteArrayInputStream(metaStr.getBytes()));

        plan.flush();
        plan.close();
View Full Code Here


        DeploymentMetaData metaData = new DeploymentMetaData(deploymentFile);

        metaData.addEntry(deploymentFile, jbossDescriptorName);

        // Add the meta data to the deployment plan
        String metaStr = metaData.toXMLString();
        JarUtils.addJarEntry(plan, DeploymentMetaData.ENTRY_NAME, new ByteArrayInputStream(metaStr.getBytes()));

        plan.flush();
        plan.close();
View Full Code Here

        while (setIterator.hasNext()) {
            String key = (String) setIterator.next();
            JBossConfigBeanProxy val = (JBossConfigBeanProxy) configBeans.get(key);
            val.save(jos, metaData);
        }
        String metaStr = metaData.toXMLString();
        try {
            JarUtils.addJarEntry(jos, DeploymentMetaData.ENTRY_NAME, new ByteArrayInputStream(metaStr.getBytes()));
            jos.flush();
            jos.close();
        } catch (Exception e) {
View Full Code Here

            String key = (String) setIterator.next();
            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) {
            System.out.println("config IO exception error: " + e.getMessage());
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.