@Deprecated public class StatisticsDescriptionProvider extends Object implements DescriptionProvider
DescriptionProvider or OverrideDescriptionProvider for a resource whose contents include attributes
provided by a list of StatisticsPlugins. Use the DescriptionProvider API if the resource only
includes the statistics attributes; use OverrideDescriptionProvider if the resource is an
override resource
that adds resource-specific statistics to a generic resource.| Constructor and Description |
|---|
StatisticsDescriptionProvider(org.jboss.jca.core.spi.statistics.StatisticsPlugin... plugins)
Deprecated.
Constructor for the
OverrideDescriptionProvider case. |
StatisticsDescriptionProvider(String bundleName,
String resourceDescriptionKey,
org.jboss.jca.core.spi.statistics.StatisticsPlugin... plugins)
Deprecated.
Constructor for the
DescriptionProvider case. |
| Modifier and Type | Method and Description |
|---|---|
Map<String,org.jboss.dmr.ModelNode> |
getAttributeOverrideDescriptions(Locale locale)
Deprecated.
|
org.jboss.dmr.ModelNode |
getModelDescription(Locale locale)
Deprecated.
Gets the descriptive information (human-friendly description, list of attributes,
list of children) describing a single model node or operation.
|
public StatisticsDescriptionProvider(org.jboss.jca.core.spi.statistics.StatisticsPlugin... plugins)
OverrideDescriptionProvider case. Internationalization support is not provided.plugins - the statistics pluginspublic StatisticsDescriptionProvider(String bundleName, String resourceDescriptionKey, org.jboss.jca.core.spi.statistics.StatisticsPlugin... plugins)
DescriptionProvider case.bundleName - name to pass to ResourceBundle.getBundle(String)resourceDescriptionKey - key to use for looking up the resource's description in the bundleplugins - the statistics pluginspublic 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 DescriptionProviderlocale - 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 © 2014 JBoss by Red Hat. All rights reserved.