Methods Summary |
---|
protected java.io.InputStream | getInputStream()
if( source instanceof URL ) {
URL url=(URL)source;
location=url.toString();
return url.openStream();
} else if( source instanceof File ) {
location=((File)source).getAbsolutePath();
return new FileInputStream((File)source);
} else if( source instanceof String) {
location=(String)source;
return new FileInputStream((String)source);
} else if( source instanceof InputStream ) {
return (InputStream)source;
}
return null;
|
public java.util.List | loadDescriptors(org.apache.tomcat.util.modeler.Registry registry, java.lang.String location, java.lang.String type, java.lang.Object source)Load data, returns a list of items.
// TODO
return null;
|
public void | store()
// nothing
|
public void | updateField(javax.management.ObjectName oname, java.lang.String name, java.lang.Object value)Callback from the BaseMBean to notify that an attribute has changed.
Can be used to implement persistence.
// nothing by default
|