public class SubSystemExtensionDescriptionProvider extends Object implements DescriptionProvider
Constructor and Description |
---|
SubSystemExtensionDescriptionProvider(String bundleName,
String resourceDescriptionKey)
Constructor for the
DescriptionProvider case. |
Modifier and Type | Method and Description |
---|---|
org.jboss.dmr.ModelNode |
getModelDescription(Locale locale)
Gets the descriptive information (human-friendly description, list of attributes,
list of children) describing a single model node or operation.
|
public SubSystemExtensionDescriptionProvider(String bundleName, String resourceDescriptionKey)
DescriptionProvider
case.bundleName
- name to pass to ResourceBundle.getBundle(String)
resourceDescriptionKey
- key to use for looking up the resource's description in the bundlepublic org.jboss.dmr.ModelNode getModelDescription(Locale locale)
DescriptionProvider
The implementation must assume that the caller intends to modify the
returned ModelNode
so it should not hand out a reference to any internal data structures.
getModelDescription
in interface DescriptionProvider
locale
- the locale to use to generate any localized text used in the description.
May be null
, in which case Locale.getDefault()
should be usedModelNode
describing the model node's structureCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.