Interface CapabilityProvider
-
- All Superinterfaces:
Capability,Definable<org.jboss.as.controller.capability.RuntimeCapability<?>>,Requirement,ResourceServiceNameFactory
public interface CapabilityProvider extends Capability
Provides a capability instance. Additionally implementsCapability, delegating all methods to the provided capability instance.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CapabilitygetCapability()default org.jboss.as.controller.capability.RuntimeCapability<?>getDefinition()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 address-
Methods inherited from interface org.jboss.as.clustering.controller.Capability
getName, getType
-
-
-
-
Method Detail
-
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
-
-