Package org.jboss.as.controller
Interface FeatureRegistry
-
- All Superinterfaces:
FeatureFilter
- All Known Subinterfaces:
ExtensionContext
,ExtensionParsingContext
,ImmutableManagementResourceRegistration
,IntVersionSchema<S>
,ManagementResourceRegistration
,OperationContext
,PersistentSubsystemSchema<S>
,SubsystemRegistration
,SubsystemSchema<S>
,VersionedNamespace<V,N>
,VersionedSchema<V,S>
,XMLAttributeSchema<S,T>
,XMLElementSchema<S,T>
- All Known Implementing Classes:
DelegatingImmutableManagementResourceRegistration
,DelegatingManagementResourceRegistration
,ExtensionRegistry
,ProcessEnvironment
,SimpleVersionedNamespace
,VersionedURN
public interface FeatureRegistry extends FeatureFilter
Implemented by objects that register features.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <F extends Feature>
booleanenables(F feature)
Determines whether the specified feature is enabled by the configured stability level of the feature registry.Stability
getStability()
Returns the feature stability supported by this feature registry.
-
-
-
Method Detail
-
getStability
Stability getStability()
Returns the feature stability supported by this feature registry.- Returns:
- a stability level
-
enables
default <F extends Feature> boolean enables(F feature)
Determines whether the specified feature is enabled by the configured stability level of the feature registry.- Specified by:
enables
in interfaceFeatureFilter
- Type Parameters:
F
- the feature type- Parameters:
feature
- a feature- Returns:
- true, if the specified feature is enabled, false otherwise.
-
-