Package org.jboss.as.controller
Class DelegatingResourceDefinition
- java.lang.Object
-
- org.jboss.as.controller.ProvidedResourceDefinition
-
- org.jboss.as.controller.DelegatingResourceDefinition
-
- All Implemented Interfaces:
Feature,ResourceDefinition,ResourceRegistration
public class DelegatingResourceDefinition extends ProvidedResourceDefinition
- Author:
- Tomaz Cerar (c) 2015 Red Hat Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.as.controller.ResourceDefinition
ResourceDefinition.AbstractConfigurator<C extends ResourceDefinition.Configurator<C>>, ResourceDefinition.Builder, ResourceDefinition.Configurator<C extends ResourceDefinition.Configurator<C>>, ResourceDefinition.MinimalBuilder, ResourceDefinition.MinimalResourceDefinition
-
Nested classes/interfaces inherited from interface org.jboss.as.controller.ResourceRegistration
ResourceRegistration.DefaultResourceRegistration
-
-
Constructor Summary
Constructors Constructor Description DelegatingResourceDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AccessConstraintDefinition>getAccessConstraints()Get the definition of any access constraints associated with the resource.StabilitygetStability()Returns the stability level of this feature.booleanisOrderedChild()Whether this is an ordered child or notbooleanisRuntime()protected voidsetDelegate(ResourceDefinition delegate)-
Methods inherited from class org.jboss.as.controller.ProvidedResourceDefinition
getDescriptionProvider, getMaxOccurs, getMinOccurs, getPathElement, isFeature, registerAdditionalRuntimePackages, registerAttributes, registerCapabilities, registerChildren, registerNotifications, registerOperations
-
-
-
-
Method Detail
-
setDelegate
protected void setDelegate(ResourceDefinition delegate)
-
getAccessConstraints
public List<AccessConstraintDefinition> getAccessConstraints()
Description copied from interface:ResourceDefinitionGet the definition of any access constraints associated with the resource.- Specified by:
getAccessConstraintsin interfaceResourceDefinition- Overrides:
getAccessConstraintsin classProvidedResourceDefinition- Returns:
- the access constraints or an empty list; will not return
null.
-
isRuntime
public boolean isRuntime()
- Specified by:
isRuntimein interfaceResourceDefinition- Overrides:
isRuntimein classProvidedResourceDefinition- Returns:
- true if resource is runtime
-
isOrderedChild
public boolean isOrderedChild()
Description copied from interface:ResourceDefinitionWhether this is an ordered child or not- Specified by:
isOrderedChildin interfaceResourceDefinition- Overrides:
isOrderedChildin classProvidedResourceDefinition- Returns:
trueif this child is ordered within the parent, false otherwise
-
getStability
public Stability getStability()
Description copied from interface:FeatureReturns the stability level of this feature.- Specified by:
getStabilityin interfaceFeature- Overrides:
getStabilityin classProvidedResourceDefinition- Returns:
- a stability level
-
-