protected DeploymentUnit createAndInitializeDeploymentUnit(ServiceRegistry registry) { final String deploymentName = deploymentRoot.getRootName(); final DeploymentUnit deploymentUnit = new DeploymentUnitImpl(parent, deploymentName, registry); deploymentUnit.putAttachment(Attachments.DEPLOYMENT_ROOT, deploymentRoot); deploymentUnit.putAttachment(Attachments.MODULE_SPECIFICATION, new ModuleSpecification()); deploymentUnit.putAttachment(DeploymentModelUtils.REGISTRATION_ATTACHMENT, registration); deploymentUnit.putAttachment(DeploymentModelUtils.MUTABLE_REGISTRATION_ATTACHMENT, mutableRegistration); deploymentUnit.putAttachment(DeploymentModelUtils.DEPLOYMENT_RESOURCE, resource); deploymentUnit.putAttachment(Attachments.SERVICE_VERIFICATION_HANDLER, serviceVerificationHandler); deploymentUnit.putAttachment(Attachments.VAULT_READER_ATTACHMENT_KEY, vaultReader); this.resource = null; return deploymentUnit; }
protected DeploymentUnit createAndInitializeDeploymentUnit(ServiceRegistry registry) { final String deploymentName = deploymentRoot.getRootName(); final DeploymentUnit deploymentUnit = new DeploymentUnitImpl(parent, deploymentName, registry); deploymentUnit.putAttachment(Attachments.DEPLOYMENT_ROOT, deploymentRoot); deploymentUnit.putAttachment(Attachments.MODULE_SPECIFICATION, new ModuleSpecification()); deploymentUnit.putAttachment(DeploymentModelUtils.REGISTRATION_ATTACHMENT, registration); deploymentUnit.putAttachment(DeploymentModelUtils.MUTABLE_REGISTRATION_ATTACHMENT, mutableRegistration); deploymentUnit.putAttachment(DeploymentModelUtils.DEPLOYMENT_RESOURCE, resource); deploymentUnit.putAttachment(Attachments.SERVICE_VERIFICATION_HANDLER, serviceVerificationHandler); deploymentUnit.putAttachment(Attachments.VAULT_READER_ATTACHMENT_KEY, vaultReader); this.resource = null; return deploymentUnit; }
protected DeploymentUnit createAndInitializeDeploymentUnit(ServiceRegistry registry) { final String deploymentName = deploymentRoot.getRootName(); final DeploymentUnit deploymentUnit = new DeploymentUnitImpl(parent, deploymentName, registry); deploymentUnit.putAttachment(Attachments.DEPLOYMENT_ROOT, deploymentRoot); deploymentUnit.putAttachment(Attachments.MODULE_SPECIFICATION, new ModuleSpecification()); deploymentUnit.putAttachment(DeploymentResourceSupport.REGISTRATION_ATTACHMENT, registration); deploymentUnit.putAttachment(DeploymentResourceSupport.MUTABLE_REGISTRATION_ATTACHMENT, mutableRegistration); deploymentUnit.putAttachment(DeploymentResourceSupport.DEPLOYMENT_RESOURCE, resource); deploymentUnit.putAttachment(Attachments.DEPLOYMENT_RESOURCE_SUPPORT, new DeploymentResourceSupport(deploymentUnit)); deploymentUnit.putAttachment(Attachments.CAPABILITY_SERVICE_SUPPORT, capabilityServiceSupport); deploymentUnit.putAttachment(Attachments.VAULT_READER_ATTACHMENT_KEY, vaultReader); deploymentUnit.putAttachment(Attachments.DEPLOYMENT_OVERLAY_INDEX, parent.getAttachment(Attachments.DEPLOYMENT_OVERLAY_INDEX)); deploymentUnit.putAttachment(Attachments.PATH_MANAGER, pathManager); return deploymentUnit; }
protected DeploymentUnit createAndInitializeDeploymentUnit(ServiceRegistry registry) { final String deploymentName = deploymentRoot.getRootName(); final DeploymentUnit deploymentUnit = new DeploymentUnitImpl(parent, deploymentName, registry); deploymentUnit.putAttachment(Attachments.DEPLOYMENT_ROOT, deploymentRoot); deploymentUnit.putAttachment(Attachments.MODULE_SPECIFICATION, new ModuleSpecification()); deploymentUnit.putAttachment(DeploymentResourceSupport.REGISTRATION_ATTACHMENT, registration); deploymentUnit.putAttachment(DeploymentResourceSupport.MUTABLE_REGISTRATION_ATTACHMENT, mutableRegistration); deploymentUnit.putAttachment(DeploymentResourceSupport.DEPLOYMENT_RESOURCE, resource); deploymentUnit.putAttachment(Attachments.DEPLOYMENT_RESOURCE_SUPPORT, new DeploymentResourceSupport(deploymentUnit)); deploymentUnit.putAttachment(Attachments.CAPABILITY_SERVICE_SUPPORT, capabilityServiceSupport); deploymentUnit.putAttachment(Attachments.VAULT_READER_ATTACHMENT_KEY, vaultReader); deploymentUnit.putAttachment(Attachments.DEPLOYMENT_OVERLAY_INDEX, parent.getAttachment(Attachments.DEPLOYMENT_OVERLAY_INDEX)); deploymentUnit.putAttachment(Attachments.PATH_MANAGER, pathManager); return deploymentUnit; }
deploymentUnit.putAttachment( Attachments.DEPLOYMENT_ROOT, resourceRoot ); deploymentUnit.putAttachment( DESCRIPTOR_ROOT, resourceRoot ); deploymentUnit.putAttachment( Attachments.MODULE_SPECIFICATION, new ModuleSpecification() );
ModuleRootMarker.mark(resourceRoot); deploymentUnit.putAttachment(Attachments.DEPLOYMENT_ROOT, resourceRoot); deploymentUnit.putAttachment(Attachments.MODULE_SPECIFICATION, new ModuleSpecification());
ModuleRootMarker.mark(resourceRoot); deploymentUnit.putAttachment(Attachments.DEPLOYMENT_ROOT, resourceRoot); deploymentUnit.putAttachment(Attachments.MODULE_SPECIFICATION, new ModuleSpecification());
ModuleRootMarker.mark(resourceRoot); deploymentUnit.putAttachment(Attachments.DEPLOYMENT_ROOT, resourceRoot); deploymentUnit.putAttachment(Attachments.MODULE_SPECIFICATION, new ModuleSpecification());
ModuleRootMarker.mark(resourceRoot); deploymentUnit.putAttachment(Attachments.DEPLOYMENT_ROOT, resourceRoot); deploymentUnit.putAttachment(Attachments.MODULE_SPECIFICATION, new ModuleSpecification());