org.apache.commons.modeler.modules
Class MbeansDescriptorsDOMSource

java.lang.Object
  extended byorg.apache.commons.modeler.modules.ModelerSource
      extended byorg.apache.commons.modeler.modules.MbeansDescriptorsDOMSource

public class MbeansDescriptorsDOMSource
extends ModelerSource


Constructor Summary
MbeansDescriptorsDOMSource()
           
 
Method Summary
 void execute()
           
 List loadDescriptors(Registry registry, String location, String type, Object source)
          Load data, returns a list of items.
 void setLocation(String loc)
           
 void setRegistry(Registry reg)
           
 void setSource(Object source)
           
 void setType(String type)
          Used if a single component is loaded
 
Methods inherited from class org.apache.commons.modeler.modules.ModelerSource
getInputStream, store, updateField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MbeansDescriptorsDOMSource

public MbeansDescriptorsDOMSource()
Method Detail

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


Copyright © 2002-2005 The Apache Software Foundation. All Rights Reserved.