Interface CapabilityReference<T>
-
- Type Parameters:
T- the requirement type
- All Superinterfaces:
org.jboss.as.controller.CapabilityReferenceRecorder,CapabilityReferenceResolver<T>,org.jboss.as.controller.Feature
- All Known Subinterfaces:
CapabilityReferenceRecorder<T>,ResourceCapabilityReference<T>,ResourceCapabilityReferenceRecorder<T>
- All Known Implementing Classes:
CapabilityReference.AbstractServiceDescriptorReference,CapabilityReference.ServiceDescriptorReference,CapabilityReferenceRecorder.CapabilityServiceDescriptorReferenceRecorder,ResourceCapabilityReference.AbstractResourceCapabilityServiceDescriptorReference,ResourceCapabilityReference.ResourceCapabilityServiceDescriptorReference,ResourceCapabilityReferenceRecorder.ResourceCapabilityServiceDescriptorReference
public interface CapabilityReference<T> extends org.jboss.as.controller.CapabilityReferenceRecorder, CapabilityReferenceResolver<T>
ACapabilityReferenceRecorderwhose requirement is specified as aServiceDescriptor.- Author:
- Paul Ferraro
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCapabilityReference.AbstractServiceDescriptorReference<T>static interfaceCapabilityReference.Builder<T>static classCapabilityReference.DefaultBuilder<T>static interfaceCapabilityReference.GrandparentAttributeProvider<T>static interfaceCapabilityReference.GrandparentPathProvider<T>static interfaceCapabilityReference.GreatGrandparentAttributeProvider<T>static interfaceCapabilityReference.GreatGrandparentPathProvider<T>static interfaceCapabilityReference.ParentAttributeProvider<T>static interfaceCapabilityReference.ParentPathProvider<T>static interfaceCapabilityReference.RequirementNameSegmentResolverstatic classCapabilityReference.ServiceDescriptorReference<T>-
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
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static <T> CapabilityReference.ParentPathProvider<T>builder(org.jboss.as.controller.capability.RuntimeCapability<Void> capability, org.wildfly.service.descriptor.BinaryServiceDescriptor<T> requirement)Creates a new reference between the specified capability and the specified requirement.static <T> CapabilityReference.GreatGrandparentPathProvider<T>builder(org.jboss.as.controller.capability.RuntimeCapability<Void> capability, org.wildfly.service.descriptor.QuaternaryServiceDescriptor<T> requirement)Creates a new reference between the specified capability and the specified requirement.static <T> CapabilityReference.GrandparentPathProvider<T>builder(org.jboss.as.controller.capability.RuntimeCapability<Void> capability, org.wildfly.service.descriptor.TernaryServiceDescriptor<T> requirement)Creates a new reference between the specified capability and the specified requirement.static <T> CapabilityReference.Builder<T>builder(org.jboss.as.controller.capability.RuntimeCapability<Void> capability, org.wildfly.service.descriptor.UnaryServiceDescriptor<T> requirement)Creates a new reference between the specified capability and the specified requirement.default StringgetBaseDependentName()default StringgetBaseRequirementName()org.jboss.as.controller.capability.RuntimeCapability<Void>getDependent()Returns the dependent capability.-
Methods inherited from interface org.jboss.as.controller.CapabilityReferenceRecorder
addCapabilityRequirements, getRequirementPatternSegments, isDynamicDependent, removeCapabilityRequirements
-
Methods inherited from interface org.wildfly.subsystem.resource.capability.CapabilityReferenceResolver
getRequirement, resolve
-
-
-
-
Method Detail
-
getDependent
org.jboss.as.controller.capability.RuntimeCapability<Void> getDependent()
Returns the dependent capability.- Returns:
- a capability
-
getBaseRequirementName
default String getBaseRequirementName()
- Specified by:
getBaseRequirementNamein interfaceorg.jboss.as.controller.CapabilityReferenceRecorder
-
getBaseDependentName
default String getBaseDependentName()
- Specified by:
getBaseDependentNamein interfaceorg.jboss.as.controller.CapabilityReferenceRecorder
-
builder
static <T> CapabilityReference.Builder<T> builder(org.jboss.as.controller.capability.RuntimeCapability<Void> capability, org.wildfly.service.descriptor.UnaryServiceDescriptor<T> requirement)
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
-
builder
static <T> CapabilityReference.ParentPathProvider<T> builder(org.jboss.as.controller.capability.RuntimeCapability<Void> capability, org.wildfly.service.descriptor.BinaryServiceDescriptor<T> requirement)
Creates a new reference between the specified capability and the specified requirement. By default, the requirement's parent segment derives from the path of the current resource.- Parameters:
capability- the capability referencing the specified requirementrequirement- the requirement of the specified capability
-
builder
static <T> CapabilityReference.GrandparentPathProvider<T> builder(org.jboss.as.controller.capability.RuntimeCapability<Void> capability, org.wildfly.service.descriptor.TernaryServiceDescriptor<T> requirement)
Creates a new reference between the specified capability and the specified requirement. By default, the requirement's grandparent and parent segments derive from the path of the parent and current resources, respectively.- Parameters:
capability- the capability referencing the specified requirementrequirement- the requirement of the specified capability
-
builder
static <T> CapabilityReference.GreatGrandparentPathProvider<T> builder(org.jboss.as.controller.capability.RuntimeCapability<Void> capability, org.wildfly.service.descriptor.QuaternaryServiceDescriptor<T> requirement)
Creates a new reference between the specified capability and the specified requirement. By default, the requirement's great-grandparent, grandparent, and parent segments derive from the path of the grandparent, parent, and current resources, respectively.- Parameters:
capability- the capability referencing the specified requirementrequirement- the requirement of the specified capability
-
-