@Override protected CapabilityScope createIncludedContext(String name) { return new ProfileChildCapabilityScope(name); } }
@Override public boolean canSatisfyRequirement(String requiredName, CapabilityScope dependentScope, CapabilityResolutionContext context) { boolean result = equals(dependentScope); if (!result && dependentScope instanceof ProfileChildCapabilityScope) { Set<CapabilityScope> includers = getIncludingScopes(context); result = includers.contains(dependentScope); } return result; }
@Override public boolean canSatisfyRequirement(String requiredName, CapabilityScope dependentScope, CapabilityResolutionContext context) { boolean result = equals(dependentScope); if (!result && dependentScope instanceof ProfileChildCapabilityScope) { Set<CapabilityScope> includers = getIncludingScopes(context); result = includers.contains(dependentScope); } return result; }
@Override protected CapabilityScope createIncludedContext(String name) { return new ProfileChildCapabilityScope(name); } }
switch (key) { case PROFILE: { context = dynamic ? new ProfileChildCapabilityScope(value) : ProfilesCapabilityScope.INSTANCE; break;
switch (key) { case PROFILE: { context = dynamic ? new ProfileChildCapabilityScope(value) : ProfilesCapabilityScope.INSTANCE; break;
switch (type) { case PROFILE: { context = address.size() == 1 ? ProfilesCapabilityScope.INSTANCE : new ProfileChildCapabilityScope(pe.getValue()); break;
switch (type) { case PROFILE: { context = address.size() == 1 ? ProfilesCapabilityScope.INSTANCE : new ProfileChildCapabilityScope(pe.getValue()); break;