public DeploymentContext getTopLevel() { return parent.getTopLevel(); }
public DeploymentContext getTopLevel() { return parent.getTopLevel(); }
public DeploymentUnit getTopLevel() { DeploymentContext context = deploymentContext.getTopLevel(); return context.getDeploymentUnit(); }
public ScopeKey getDeploymentScope(DeploymentContext context) { if (context == null) throw new IllegalArgumentException("Null context"); DeploymentContext top = context.getTopLevel(); ScopeKey result = ScopeKey.DEFAULT_SCOPE.clone(); result.addScope(CommonLevels.APPLICATION, top.getName()); result.addScope(CommonLevels.DEPLOYMENT, context.getName()); return result; }
public ScopeKey getDeploymentScope(DeploymentContext context) { if (context == null) throw new IllegalArgumentException("Null context"); DeploymentContext top = context.getTopLevel(); ScopeKey result = ScopeKey.DEFAULT_SCOPE.clone(); result.addScope(CommonLevels.APPLICATION, top.getName()); result.addScope(CommonLevels.DEPLOYMENT, context.getName()); return result; }