org.apache.commons.modeler.modules

Class MbeansDescriptorsDOMSource


public class MbeansDescriptorsDOMSource
extends ModelerSource

Field Summary

(package private) String
location
private static Log
log
(package private) List
mbeans
(package private) Registry
registry
(package private) Object
source
(package private) String
type

Fields inherited from class org.apache.commons.modeler.modules.ModelerSource

location, source

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, loadDescriptors, store, updateField

Field Details

location

(package private)  String location

log

private static Log log

mbeans

(package private)  List mbeans

registry

(package private)  Registry registry

source

(package private)  Object source

type

(package private)  String type

Method Details

execute

public void execute()
            throws Exception

loadDescriptors

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

setLocation

public void setLocation(String loc)

setRegistry

public void setRegistry(Registry reg)

setSource

public void setSource(Object source)

setType

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

Copyright (c) 2001-2003 - Apache Software Foundation