public VFSDeploymentUnit getTopLevel() { return delegate.getTopLevel(); }
/** * Get the class path entries which have been determined by the EARStructure. * Will return null if this unit is not part of an ear deployment. */ private List<ClassPathEntry> getClassPathEntries(VFSDeploymentUnit unit) { // log.info("class path = " + unit.getTopLevel().getAttachment(StructureMetaData.class).getContext("").getClassPath()); StructureMetaData smd = unit.getTopLevel().getAttachment(StructureMetaData.class); if(smd == null) return null; // A context without a path is the one we want (see AbstractStructureDeployer) return smd.getContext("").getClassPath(); }
VFSDeploymentUnit toplevelUnit = unit.getTopLevel(); if (toplevelUnit != null)
protected JBPMDeploymentMetaData parse( VFSDeploymentUnit unit, VirtualFile file, JBPMDeploymentMetaData root) throws Exception { log.debug("Creating structure from " + file); JBPMDeploymentMetaData md = new JBPMDeploymentMetaData(); md.setProcessDescriptor(file.toURL()); md.setWatch(unit.getTopLevel().getRoot().toURL()); return md; } }
boolean isEar = unit != unit.getTopLevel(); this.deploymentScope = new JBoss5DeploymentScope(unit.getParent(), isEar);
+ jar.getName()); JBoss5DeploymentScope scope = null; VFSDeploymentUnit parent = unit.getTopLevel(); boolean initScopeDeployment = false; if (parent != null) boolean isEar = unit != unit.getTopLevel() || parent.isAttachmentPresent(JBossAppMetaData.class); if(parent.isAttachmentPresent(DeploymentEndpointResolver.class) == true) scope = new JBoss5DeploymentScope(parent, isEar);
VFSDeploymentUnit topUnit = vfsUnit.getTopLevel(); if (topUnit == unit) throw new DeploymentException("Unable to resolve " + altDDPath + " as WEB-INF path");
if (hasWB || hasCp) VFSDeploymentUnit topUnit = unit.getTopLevel(); environment = topUnit.getAttachment(WeldDiscoveryEnvironment.class); if (environment == null)
HashSet<String> beanDepends = new HashSet<String>(); VFSDeploymentUnit topUnit = unit.getTopLevel(); Map<String, ContainerDependencyMetaData> endpoints = (Map<String, ContainerDependencyMetaData>) topUnit.getAttachment(MappedReferenceMetaDataResolverDeployer.ENDPOINT_MAP_KEY); if(endpoints == null)
if (scope == null) boolean isEar = unit != unit.getTopLevel(); if(parent.isAttachmentPresent(DeploymentEndpointResolver.class) == true) scope = new JBoss5DeploymentScope(parent, isEar);