Class CapabilityReference
java.lang.Object
org.jboss.as.clustering.controller.AbstractCapabilityReference
org.jboss.as.clustering.controller.CapabilityReference
- All Implemented Interfaces:
org.jboss.as.controller.CapabilityReferenceRecorder,org.jboss.as.controller.Feature
CapabilityReferenceRecorder that delegates to Capability.resolve(org.jboss.as.controller.PathAddress) to generate the name of the dependent capability.- Author:
- Paul Ferraro
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.as.controller.CapabilityReferenceRecorder
org.jboss.as.controller.CapabilityReferenceRecorder.CompositeAttributeDependencyRecorder, org.jboss.as.controller.CapabilityReferenceRecorder.ContextDependencyRecorder, org.jboss.as.controller.CapabilityReferenceRecorder.DefaultCapabilityReferenceRecorder, org.jboss.as.controller.CapabilityReferenceRecorder.ResourceCapabilityReferenceRecorder -
Constructor Summary
ConstructorsConstructorDescriptionCapabilityReference(Capability capability, BinaryRequirement requirement, Attribute parentAttribute) Creates a new reference between the specified capability and the specified requirementCapabilityReference(Capability capability, BinaryRequirement requirement, org.jboss.as.controller.PathElement path) Creates a new reference between the specified capability and the specified requirementCapabilityReference(Capability capability, UnaryRequirement requirement) Creates a new reference between the specified capability and the specified requirement -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCapabilityRequirements(org.jboss.as.controller.OperationContext context, org.jboss.as.controller.registry.Resource resource, String attributeName, String... values) String[]getRequirementPatternSegments(String name, org.jboss.as.controller.PathAddress address) voidremoveCapabilityRequirements(org.jboss.as.controller.OperationContext context, org.jboss.as.controller.registry.Resource resource, String attributeName, String... values) Methods inherited from class org.jboss.as.clustering.controller.AbstractCapabilityReference
equals, getBaseDependentName, getBaseRequirementName, getDependentName, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.as.controller.CapabilityReferenceRecorder
isDynamicDependentMethods inherited from interface org.jboss.as.controller.Feature
getStability
-
Constructor Details
-
CapabilityReference
Creates a new reference between the specified capability and the specified requirement- Parameters:
capability- the capability referencing the specified requirementrequirement- the requirement of the specified capability
-
CapabilityReference
public CapabilityReference(Capability capability, BinaryRequirement requirement, org.jboss.as.controller.PathElement path) Creates a new reference between the specified capability and the specified requirement- Parameters:
capability- the capability referencing the specified requirementrequirement- the requirement of the specified capability
-
CapabilityReference
public CapabilityReference(Capability capability, BinaryRequirement requirement, Attribute parentAttribute) Creates a new reference between the specified capability and the specified requirement- Parameters:
capability- the capability referencing the specified requirementrequirement- the requirement of the specified capabilityparentAttribute- the attribute containing the value of the parent dynamic component of the requirement
-
-
Method Details
-
addCapabilityRequirements
-
removeCapabilityRequirements
-
getRequirementPatternSegments
-