Class MbeansDescriptorsDOMSource

java.lang.Object
org.apache.commons.modeler.modules.ModelerSource
org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource

public class MbeansDescriptorsDOMSource extends ModelerSource
  • Field Details

    • log

      private static org.apache.commons.logging.Log log
    • registry

      Registry registry
    • location

      String location
    • type

      String type
    • source

      Object source
    • mbeans

      List mbeans
  • Constructor Details

    • MbeansDescriptorsDOMSource

      public MbeansDescriptorsDOMSource()
  • Method Details

    • setRegistry

      public void setRegistry(Registry reg)
    • setLocation

      public void setLocation(String loc)
    • setType

      public void setType(String type)
      Used if a single component is loaded
      Parameters:
      type -
    • setSource

      public void setSource(Object source)
    • loadDescriptors

      public List loadDescriptors(Registry registry, String location, String type, Object source) throws Exception
      Description copied from class: ModelerSource
      Load data, returns a list of items.
      Overrides:
      loadDescriptors in class ModelerSource
      Parameters:
      registry -
      location -
      type -
      source - Introspected object or some other source
      Throws:
      Exception
    • execute

      public void execute() throws Exception
      Throws:
      Exception