Package org.apache.geronimo.j2ee.deployment

Examples of org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration()


                        AxisGeronimoConstants.NONTRANSACTIONALTIMER_NAME,
                        null, moduleBuilder,moduleBuilder, null, null, null);
                XmlObject plan =
                        earConfigBuilder.getDeploymentPlan(earFile.toURL());

                earConfigBuilder.buildConfiguration(carFile, null, earFile,
                        plan);
                LocalConfigStore.unpack(unpackedDir,
                        new FileInputStream(carFile));
/////////////////////////////////////////////////////////////////////////////////
                // store the property IFF all goes well
View Full Code Here


//                  null,  // web
//                  null, //connector
//                transactionManagerObjectName, connectionTrackerObjectName);

      XmlObject plan = earConfigBuilder.getDeploymentPlan(earFile.toURL());
      earConfigBuilder.buildConfiguration(carFile, null, earFile, plan);
      File unpackedDir = new File(tempDir, "OpenEJBTest-ear-Unpacked");
      LocalConfigStore.unpack(unpackedDir, new FileInputStream(carFile));
    } finally {
      carFile.delete();
    }
View Full Code Here

            File tempDir = null;
            try {
                tempDir = DeploymentUtil.createTempDir();
                File planFile = new File(basedir, "src/test-data/data/external-application-plan.xml");
                Object plan = configBuilder.getDeploymentPlan(planFile, rarFile);
                configBuilder.buildConfiguration(plan, rarFile, tempDir);
            } finally {
                DeploymentUtil.recursiveDelete(tempDir);
            }
        } finally {
            kernel.shutdown();
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.