Package org.jboss.as.controller
Interface FeatureRegistry
- All Superinterfaces:
FeatureFilter
- All Known Subinterfaces:
ExtensionContext,ExtensionParsingContext,ImmutableManagementResourceRegistration,IntVersionSchema<S>,ManagementResourceRegistration,ManagementXmlSchema,OperationContext,PersistentSubsystemSchema<S>,ResourceXMLParticleFactory,SubsystemRegistration,SubsystemResourceXMLSchema<S>,SubsystemSchema<S>,VersionedSchema<V,,S> XMLAttributeSchema<S,,T> XMLComponentFactory<RC,,WC> XMLElementSchema<S,T>
- All Known Implementing Classes:
DelegatingImmutableManagementResourceRegistration,DelegatingManagementResourceRegistration,ExtensionRegistry,ManagementSchema,NamedResourceRegistrationXMLElement.DefaultBuilder,ProcessEnvironment,ResourceRegistrationXMLElement.AbstractBuilder,ResourceXMLAll.DefaultBuilder,ResourceXMLChoice.DefaultBuilder,ResourceXMLContainer.AbstractBuilder,ResourceXMLElement.DefaultBuilder,ResourceXMLElementGroup.AbstractBuilder,ResourceXMLParticleFactory.DefaultSubsystemXMLParticleFactory,ResourceXMLParticleGroup.AbstractBuilder,ResourceXMLSequence.DefaultBuilder,SingletonResourceRegistrationXMLElement.DefaultBuilder,SubsystemResourceRegistrationXMLElement.DefaultBuilder,XMLAll.DefaultBuilder,XMLChoice.DefaultBuilder,XMLComponentFactory.DefaultXMLComponentFactory,XMLElement.DefaultBuilder,XMLElementGroup.AbstractBuilder,XMLParticleGroup.AbstractBuilder,XMLSequence.DefaultBuilder
Implemented by objects that register features.
- Author:
- Paul Ferraro
-
Method Details
-
getStability
Stability getStability()Returns the feature stability supported by this feature registry.- Returns:
- a stability level
-
enables
Determines whether the specified feature is enabled by the configured stability level of the feature registry.- Specified by:
enablesin interfaceFeatureFilter- Type Parameters:
F- the feature type- Parameters:
feature- a feature- Returns:
- true, if the specified feature is enabled, false otherwise.
-