public static class CapabilityReferenceRecorder.CompositeAttributeDependencyRecorder extends CapabilityReferenceRecorder.ContextDependencyRecorder
CapabilityReferenceRecorder that determines the dependent capability from
the OperationContext and any additional attributes on same resource.
This assumes that the resource registration associated with currently executing step
will expose a capability set including
one and only one capability. This recorder cannot be used with attributes associated with resources
that do not meet this requirement.CapabilityReferenceRecorder.CompositeAttributeDependencyRecorder, CapabilityReferenceRecorder.ContextDependencyRecorder, CapabilityReferenceRecorder.DefaultCapabilityReferenceRecorder| Modifier and Type | Method and Description |
|---|---|
protected RuntimeCapability |
getDependentCapability(OperationContext context) |
protected String |
getRequirementName(OperationContext context,
Resource resource,
String attributeValue) |
addCapabilityRequirements, getBaseDependentName, getBaseRequirementName, removeCapabilityRequirementsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisDynamicDependentprotected RuntimeCapability getDependentCapability(OperationContext context)
getDependentCapability in class CapabilityReferenceRecorder.ContextDependencyRecorderprotected String getRequirementName(OperationContext context, Resource resource, String attributeValue)
getRequirementName in class CapabilityReferenceRecorder.ContextDependencyRecorderCopyright © 2017 JBoss by Red Hat. All rights reserved.