org.apache.tomcat.util.modeler.modules

Class ModelerSource

public class ModelerSource extends Object

Source for descriptor data. More sources can be added.
Field Summary
protected Stringlocation
protected Objectsource
Method Summary
protected InputStreamgetInputStream()
ListloadDescriptors(Registry registry, String location, String type, Object source)
Load data, returns a list of items.
voidstore()
voidupdateField(ObjectName oname, String name, Object value)
Callback from the BaseMBean to notify that an attribute has changed.

Field Detail

location

protected String location

source

protected Object source

Method Detail

getInputStream

protected InputStream getInputStream()

loadDescriptors

public List loadDescriptors(Registry registry, String location, String type, Object source)
Load data, returns a list of items.

Parameters: registry location type source Introspected object or some other source

Throws: Exception

store

public void store()

updateField

public void updateField(ObjectName oname, String name, Object value)
Callback from the BaseMBean to notify that an attribute has changed. Can be used to implement persistence.

Parameters: oname name value

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.