@Override public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); // we only process .ear if (!DeploymentTypeMarker.isType(DeploymentType.EAR, deploymentUnit)) { return; } final ModuleSpecification moduleSpecification = deploymentUnit.getAttachment(Attachments.MODULE_SPECIFICATION); // set the default ear subdeployment isolation value moduleSpecification.setSubDeploymentModulesIsolated(earSubDeploymentsIsolated); }
@Override public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); // we only process .ear if (!DeploymentTypeMarker.isType(DeploymentType.EAR, deploymentUnit)) { return; } final ModuleSpecification moduleSpecification = deploymentUnit.getAttachment(Attachments.MODULE_SPECIFICATION); // set the default ear subdeployment isolation value moduleSpecification.setSubDeploymentModulesIsolated(earSubDeploymentsIsolated); }
@Override public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); // we only process .ear if (!DeploymentTypeMarker.isType(DeploymentType.EAR, deploymentUnit)) { return; } final ModuleSpecification moduleSpecification = deploymentUnit.getAttachment(Attachments.MODULE_SPECIFICATION); // set the default ear subdeployment isolation value moduleSpecification.setSubDeploymentModulesIsolated(earSubDeploymentsIsolated); }
@Override public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); // we only process .ear if (!DeploymentTypeMarker.isType(DeploymentType.EAR, deploymentUnit)) { return; } final ModuleSpecification moduleSpecification = deploymentUnit.getAttachment(Attachments.MODULE_SPECIFICATION); // set the default ear subdeployment isolation value moduleSpecification.setSubDeploymentModulesIsolated(earSubDeploymentsIsolated); }
if (result.getEarSubDeploymentsIsolated() != null) { moduleSpec.setSubDeploymentModulesIsolated(result.getEarSubDeploymentsIsolated());
if (result.getEarSubDeploymentsIsolated() != null) { moduleSpec.setSubDeploymentModulesIsolated(result.getEarSubDeploymentsIsolated());
if (result.getEarSubDeploymentsIsolated() != null) { moduleSpec.setSubDeploymentModulesIsolated(result.getEarSubDeploymentsIsolated());
if (result.getEarSubDeploymentsIsolated() != null) { moduleSpec.setSubDeploymentModulesIsolated(result.getEarSubDeploymentsIsolated());