org.apache.commons.modeler.modules
Class ModelerSource
java.lang.Object
org.apache.commons.modeler.modules.ModelerSource
public class ModelerSource
extends java.lang.Object
Source for descriptor data. More sources can be added.
protected InputStream | getInputStream()
|
List | loadDescriptors(Registry registry, String location, String type, Object source) - Load data, returns a list of items.
|
void | store()
|
void | updateField(ObjectName oname, String name, Object value) - Callback from the BaseMBean to notify that an attribute has changed.
|
location
protected String location
source
protected Object source
getInputStream
protected InputStream getInputStream()
throws IOException
loadDescriptors
public List loadDescriptors(Registry registry,
String location,
String type,
Object source)
throws Exception
Load data, returns a list of items.
registry
- location
- type
- source
- Introspected object or some other source
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.
Copyright (c) 2001-2003 - Apache Software Foundation