Interface DescriptionProvider
- All Known Implementing Classes:
DefaultNotificationDescriptionProvider,DefaultOperationDescriptionProvider,DefaultResourceAddDescriptionProvider,DefaultResourceDescriptionProvider,DefaultResourceRemoveDescriptionProvider,GenericSubsystemDescribeHandler,UnsupportedSubsystemDescribeHandler
public interface DescriptionProvider
Provides information (description, list of attributes, list of children)
describing the structure of an addressable model node or operation.
- Author:
- Brian Stansberry
-
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.dmr.ModelNodegetModelDescription(Locale locale) Gets the descriptive information (human-friendly description, list of attributes, list of children) describing a single model node or operation.
-
Method Details
-
getModelDescription
Gets the descriptive information (human-friendly description, list of attributes, list of children) describing a single model node or operation.The implementation must assume that the caller intends to modify the returned
ModelNodeso it should not hand out a reference to any internal data structures.- Parameters:
locale- the locale to use to generate any localized text used in the description. May benull, in which caseLocale.getDefault()should be used- Returns:
ModelNodedescribing the model node's structure
-