Package | Description |
---|---|
org.jboss.as.controller | |
org.jboss.as.controller.capability.registry |
Modifier and Type | Method and Description |
---|---|
<T> T |
CapabilityRegistry.getCapabilityRuntimeAPI(String capabilityName,
CapabilityScope scope,
Class<T> apiType) |
org.jboss.msc.service.ServiceName |
CapabilityRegistry.getCapabilityServiceName(String capabilityName,
CapabilityScope scope,
Class<?> serviceType) |
boolean |
CapabilityRegistry.hasCapability(String capabilityName,
CapabilityScope scope) |
RuntimeCapabilityRegistration |
CapabilityRegistry.removeCapability(String capabilityName,
CapabilityScope scope,
PathAddress registrationPoint)
Remove a previously registered capability if all registration points for it have been removed.
|
Modifier and Type | Field and Description |
---|---|
static CapabilityScope |
CapabilityScope.GLOBAL
A
CapabilityScope that can satisfy any dependent scope. |
Modifier and Type | Method and Description |
---|---|
static CapabilityScope |
CapabilityScope.Factory.create(ProcessType processType,
PathAddress address)
Create a
CapabilityScope appropriate for the given process type and address |
CapabilityScope |
CapabilityRegistration.getCapabilityScope()
Gets the scope in which the capability is registered.
|
CapabilityScope |
RequirementRegistration.getDependentContext() |
CapabilityScope |
CapabilityId.getScope()
Gets the scope in which the capability exists.
|
Modifier and Type | Method and Description |
---|---|
default Set<CapabilityScope> |
CapabilityScope.getIncludingScopes(CapabilityResolutionContext context)
Gets any scope that logically include this one, i.e.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CapabilityScope.canSatisfyRequirement(String requiredName,
CapabilityScope dependentScope,
CapabilityResolutionContext context)
Gets whether a given capability associated with this scope can satisfy the given requirement.
|
<T> T |
ImmutableCapabilityRegistry.getCapabilityRuntimeAPI(String capabilityName,
CapabilityScope scope,
Class<T> apiType)
Gets the runtime API associated with a given capability, if there is one.
|
org.jboss.msc.service.ServiceName |
ImmutableCapabilityRegistry.getCapabilityServiceName(String capabilityName,
CapabilityScope scope,
Class<?> serviceType)
Gets the name of the service provided by the capability, if there is one.
|
boolean |
ImmutableCapabilityRegistry.hasCapability(String capabilityName,
CapabilityScope scope)
Gets whether a runtime capability with the given name is registered.
|
RuntimeCapabilityRegistration |
RuntimeCapabilityRegistry.removeCapability(String capabilityName,
CapabilityScope scope,
PathAddress registrationPoint)
Remove a previously registered capability if all registration points for it have been removed.
|
Constructor and Description |
---|
CapabilityId(String name,
CapabilityScope scope) |
CapabilityRegistration(C capability,
CapabilityScope scope) |
CapabilityRegistration(C capability,
CapabilityScope scope,
RegistrationPoint registrationPoint) |
RequirementRegistration(String requiredName,
String dependentName,
CapabilityScope dependentContext) |
RequirementRegistration(String requiredName,
String dependentName,
CapabilityScope dependentContext,
RegistrationPoint registrationPoint)
Creates a new requirement registration.
|
RuntimeCapabilityRegistration(RuntimeCapability capability,
CapabilityScope context,
RegistrationPoint registrationPoint) |
RuntimeRequirementRegistration(String requiredName,
String dependentName,
CapabilityScope dependentScope,
RegistrationPoint registrationPoint)
Creates a new requirement registration.
|
RuntimeRequirementRegistration(String requiredName,
String dependentName,
CapabilityScope dependentScope,
RegistrationPoint registrationPoint,
boolean runtimeOnly)
Creates a new requirement registration.
|
Copyright © 2023 JBoss by Red Hat. All rights reserved.