Class ModelerSource

java.lang.Object
org.apache.tomcat.util.modeler.modules.ModelerSource
Direct Known Subclasses:
MbeansDescriptorsDigesterSource, MbeansDescriptorsIntrospectionSource

public abstract class ModelerSource extends Object
Source for descriptor data. More sources can be added.
  • Field Details

    • sm

      protected static final StringManager sm
      The string manager for this class.
    • source

      protected Object source
      The source object.
  • Constructor Details

    • ModelerSource

      public ModelerSource()
      Default constructor.
  • Method Details

    • loadDescriptors

      public abstract List<ObjectName> loadDescriptors(Registry registry, String type, Object source) throws Exception
      Load data, returns a list of items.
      Parameters:
      registry - The registry
      type - The bean registry type
      source - Introspected object or some other source
      Returns:
      a list of object names
      Throws:
      Exception - Error loading descriptors