Class DefaultResourceDescriptionProvider

java.lang.Object
org.jboss.as.controller.descriptions.DefaultResourceDescriptionProvider
All Implemented Interfaces:
DescriptionProvider

public class DefaultResourceDescriptionProvider extends Object implements DescriptionProvider
Provides a default description of a resource by analyzing the registry metadata.
Author:
Brian Stansberry (c) 2011 Red Hat Inc.
  • Constructor Details

  • Method Details

    • getModelDescription

      public org.jboss.dmr.ModelNode getModelDescription(Locale locale)
      Description copied from interface: DescriptionProvider
      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 ModelNode so it should not hand out a reference to any internal data structures.

      Specified by:
      getModelDescription in interface DescriptionProvider
      Parameters:
      locale - the locale to use to generate any localized text used in the description. May be null, in which case Locale.getDefault() should be used
      Returns:
      ModelNode describing the model node's structure