/** Adds the ear-expansion */ public void addEarDeploy(EarDeployGenerator earDeploy) throws Exception { _earDeploy.add(earDeploy); // server/26cc - _appDeploy must be added first, because the // _earDeploy addition will automaticall register itself _appDeploy.add(new WebAppEarDeployGenerator(_appDeploySpi, this, earDeploy)); /* _earDeploy.add(earDeploy); */ }
/** Adds an enterprise webApp. */ public void addApplication(EarConfig config) { DeployGenerator<EarDeployController> deploy = new EarSingleDeployGenerator(_earDeploy, this, config); _earDeploy.add(deploy); }