public interface CapabilityReferenceRecorder
| Modifier and Type | Interface and Description |
|---|---|
static class |
CapabilityReferenceRecorder.CompositeAttributeDependencyRecorder
CapabilityReferenceRecorder that determines the dependent capability from
the OperationContext and any additional attributes on same resource. |
static class |
CapabilityReferenceRecorder.ContextDependencyRecorder
CapabilityReferenceRecorder that determines the dependent capability from
the OperationContext. |
static class |
CapabilityReferenceRecorder.DefaultCapabilityReferenceRecorder
Default implementation of
CapabilityReferenceRecorder. |
static class |
CapabilityReferenceRecorder.ResourceNameCompositeDependencyRecorder
CapabilityReferenceRecorder.ResourceNameCompositeDependencyRecorder that determines the dependent capability
from the OperationContext and resource name. |
| Modifier and Type | Method and Description |
|---|---|
default void |
addCapabilityRequirements(OperationContext context,
Resource resource,
String attributeName,
String... attributeValues)
Registers capability requirement information to the given context.
|
void |
addCapabilityRequirements(OperationContext context,
String attributeName,
String... attributeValues)
Deprecated.
use @{link
addCapabilityRequirements(OperationContext, Resource, String, String...)} instead |
String |
getBaseDependentName()
Deprecated.
No longer required and may throw
UnsupportedOperationException |
String |
getBaseRequirementName() |
boolean |
isDynamicDependent()
Deprecated.
No longer required and may throw
UnsupportedOperationException |
default void |
removeCapabilityRequirements(OperationContext context,
Resource resource,
String attributeName,
String... attributeValues)
Deregisters capability requirement information from the given context.
|
void |
removeCapabilityRequirements(OperationContext context,
String attributeName,
String... attributeValues)
Deprecated.
|
@Deprecated void addCapabilityRequirements(OperationContext context, String attributeName, String... attributeValues)
addCapabilityRequirements(OperationContext, Resource, String, String...)} insteadcontext - the contextattributeName - the name of the attributeattributeValues - the values of the attribute, which may contain nulldefault void addCapabilityRequirements(OperationContext context, Resource resource, String attributeName, String... attributeValues)
context - the contextresource - the resource on which requirements are gatheredattributeName - the name of the attributeattributeValues - the values of the attribute, which may contain null@Deprecated void removeCapabilityRequirements(OperationContext context, String attributeName, String... attributeValues)
context - the contextattributeName - the name of the attributeattributeValues - the values of the attribute, which may contain nulldefault void removeCapabilityRequirements(OperationContext context, Resource resource, String attributeName, String... attributeValues)
context - the contextresource - the resource on which requirements are gatheredattributeName - the name of the attributeattributeValues - the values of the attribute, which may contain null@Deprecated String getBaseDependentName()
UnsupportedOperationExceptionString getBaseRequirementName()
@Deprecated boolean isDynamicDependent()
UnsupportedOperationExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.