7071727374757677787980
if (!StringUtils.isEmpty(contextPath)) { war.setContext(contextPath); } deployer.redeploy(war); } else if ("EAR".equalsIgnoreCase(extension)) { EAR ear = createEAR(f); deployer.redeploy(ear); } else { throw new RuntimeException("Extension File Error."); } }
949596979899100
* * @param deployableFile The deployable file to create the Deployable from. * @return A Deployable object. */ protected EAR createEAR(File deployableFile) { return new EAR(deployableFile.getAbsolutePath()); }
36373839404142434445
{ protected void execute(JBossJMXDeployer deployer) { // Deployable deployable = new EAR(getFile().getAbsolutePath()); // deployer.undeploy(deployable); }
40414243444546474849
} protected void execute(JBossJMXDeployer deployer) { // Deployable deployable = new EAR(getFile().getAbsolutePath()); // deployer.deploy(deployable); }