Package org.jboss.as.controller
Class CapabilityReferenceRecorder.DefaultCapabilityReferenceRecorder
java.lang.Object
org.jboss.as.controller.CapabilityReferenceRecorder.ContextDependencyRecorder
org.jboss.as.controller.CapabilityReferenceRecorder.DefaultCapabilityReferenceRecorder
- All Implemented Interfaces:
CapabilityReferenceRecorder,Feature
- Enclosing interface:
- CapabilityReferenceRecorder
public static class CapabilityReferenceRecorder.DefaultCapabilityReferenceRecorder
extends CapabilityReferenceRecorder.ContextDependencyRecorder
Default implementation of
CapabilityReferenceRecorder. Derives the required
capability name from the baseRequirementName provided to the constructor and from the attribute value.
Derives the dependent capability name from the baseDependentName provided to the constructor, and, if the
dependent name is dynamic, from the address of the resource currently being processed.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.as.controller.CapabilityReferenceRecorder
CapabilityReferenceRecorder.CompositeAttributeDependencyRecorder, CapabilityReferenceRecorder.ContextDependencyRecorder, CapabilityReferenceRecorder.DefaultCapabilityReferenceRecorder, CapabilityReferenceRecorder.ResourceCapabilityReferenceRecorder -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class org.jboss.as.controller.CapabilityReferenceRecorder.ContextDependencyRecorder
addCapabilityRequirements, getBaseRequirementName, getRequirementName, removeCapabilityRequirementsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.as.controller.CapabilityReferenceRecorder
getRequirementPatternSegments, isDynamicDependentMethods inherited from interface org.jboss.as.controller.Feature
getStability
-
Method Details
-
getBaseDependentName
Description copied from class:CapabilityReferenceRecorder.ContextDependencyRecorder- Specified by:
getBaseDependentNamein interfaceCapabilityReferenceRecorder- Overrides:
getBaseDependentNamein classCapabilityReferenceRecorder.ContextDependencyRecorder- Returns:
- base name of dependant, usually name of the attribute that provides reference to capability
-