public interface PossibleCapabilityRegistry
Possible capabilities are definitions of capabilities that are registered on resource to provide information of what all real or runtime capabilities will be registered once instance of said resource is added to resource tree.
Modifier and Type | Method and Description |
---|---|
void |
registerPossibleCapability(Capability capability,
PathAddress registrationPoint)
Registers a possible capability with the system.
|
CapabilityRegistration |
removePossibleCapability(Capability capability,
PathAddress registrationPoint)
Remove a previously registered possible capability if all registration points for it have been removed.
|
void registerPossibleCapability(Capability capability, PathAddress registrationPoint)
capability
- the possible capability. Cannot be null
CapabilityRegistration removePossibleCapability(Capability capability, PathAddress registrationPoint)
capability
- the capability. Cannot be null
registrationPoint
- the specific registration point that is being removednull
if no matching capability was registered or other
registration points for the capability still existCopyright © 2023 JBoss by Red Hat. All rights reserved.