Interface CapabilityProvider
- All Superinterfaces:
Capability,Definable<org.jboss.as.controller.capability.RuntimeCapability<?>>,Requirement,ResourceServiceNameFactory
Provides a capability instance.
Additionally implements
Capability, delegating all methods to the provided capability instance.- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptiondefault org.jboss.as.controller.capability.RuntimeCapability<?>Returns the definition of this object.default org.jboss.msc.service.ServiceNamegetServiceName(org.jboss.as.controller.PathAddress address) ReturnsServiceNamefor the specified resource address.default org.jboss.as.controller.capability.RuntimeCapability<?>resolve(org.jboss.as.controller.PathAddress address) Resolves this capability against the specified path addressMethods inherited from interface org.jboss.as.clustering.controller.Capability
getName, getType
-
Method Details
-
getCapability
Capability getCapability() -
getDefinition
default org.jboss.as.controller.capability.RuntimeCapability<?> getDefinition()Description copied from interface:DefinableReturns the definition of this object.- Specified by:
getDefinitionin interfaceDefinable<org.jboss.as.controller.capability.RuntimeCapability<?>>- Returns:
- this object's definition
-
resolve
default org.jboss.as.controller.capability.RuntimeCapability<?> resolve(org.jboss.as.controller.PathAddress address) Description copied from interface:CapabilityResolves this capability against the specified path address- Specified by:
resolvein interfaceCapability- Parameters:
address- a path address- Returns:
- a resolved runtime capability
-
getServiceName
default org.jboss.msc.service.ServiceName getServiceName(org.jboss.as.controller.PathAddress address) Description copied from interface:ResourceServiceNameFactoryReturnsServiceNamefor the specified resource address.- Specified by:
getServiceNamein interfaceCapability- Specified by:
getServiceNamein interfaceResourceServiceNameFactory- Parameters:
address- a resource address- Returns:
- a server name
-