Class MbeansDescriptorsDOMSource
- java.lang.Object
-
- org.apache.commons.modeler.modules.ModelerSource
-
- org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource
-
public class MbeansDescriptorsDOMSource extends ModelerSource
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.Stringlocationprivate static org.apache.commons.logging.Loglog(package private) java.util.Listmbeans(package private) Registryregistry(package private) java.lang.Objectsource(package private) java.lang.Stringtype
-
Constructor Summary
Constructors Constructor Description MbeansDescriptorsDOMSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()java.util.ListloadDescriptors(Registry registry, java.lang.String location, java.lang.String type, java.lang.Object source)Load data, returns a list of items.voidsetLocation(java.lang.String loc)voidsetRegistry(Registry reg)voidsetSource(java.lang.Object source)voidsetType(java.lang.String type)Used if a single component is loaded-
Methods inherited from class org.apache.commons.modeler.modules.ModelerSource
getInputStream, store, updateField
-
-
-
-
Field Detail
-
log
private static org.apache.commons.logging.Log log
-
registry
Registry registry
-
location
java.lang.String location
-
type
java.lang.String type
-
source
java.lang.Object source
-
mbeans
java.util.List mbeans
-
-
Method Detail
-
setRegistry
public void setRegistry(Registry reg)
-
setLocation
public void setLocation(java.lang.String loc)
-
setType
public void setType(java.lang.String type)
Used if a single component is loaded- Parameters:
type-
-
setSource
public void setSource(java.lang.Object source)
-
loadDescriptors
public java.util.List loadDescriptors(Registry registry, java.lang.String location, java.lang.String type, java.lang.Object source) throws java.lang.Exception
Description copied from class:ModelerSourceLoad data, returns a list of items.- Overrides:
loadDescriptorsin classModelerSourcesource- Introspected object or some other source- Throws:
java.lang.Exception
-
execute
public void execute() throws java.lang.Exception- Throws:
java.lang.Exception
-
-