}\r
\r
if( sourceType==null ) {\r
- sourceType="MbeansDescriptorsDOMSource";\r
+ sourceType="MbeansDescriptorsDigesterSource";\r
}\r
ModelerSource ds=getModelerSource(sourceType);\r
List mbeans=ds.loadDescriptors(this, location, type, inputsource);\r
return "MbeansDescriptorsSerSource";\r
}\r
else if( s.endsWith(".xml")) {\r
- return "MbeansDescriptorsDOMSource";\r
+ return "MbeansDescriptorsDigesterSource";\r
}\r
return null;\r
}\r
searchedPaths.put( packageName, dURL );\r
try {\r
if( descriptors.endsWith(".xml" ))\r
- loadDescriptors("MbeansDescriptorsDOMSource", dURL, null);\r
+ loadDescriptors("MbeansDescriptorsDigesterSource", dURL, null);\r
else\r
loadDescriptors("MbeansDescriptorsSerSource", dURL, null);\r
return;\r
URL url=(URL)en.nextElement();\r
InputStream is=url.openStream();\r
if( log.isDebugEnabled()) log.debug("Loading " + url);\r
- loadDescriptors("MBeansDescriptorDOMSource", is, null );\r
+ loadDescriptors("MbeansDescriptorsDigesterSource", is, null );\r
}\r
} catch( Exception ex ) {\r
ex.printStackTrace();\r
private ModelerSource getModelerSource( String type )\r
throws Exception\r
{\r
- if( type==null ) type="MbeansDescriptorsDOMSource";\r
+ if( type==null ) type="MbeansDescriptorsDigesterSource";\r
if( type.indexOf( ".") < 0 ) {\r
type="org.apache.tomcat.util.modeler.modules." + type;\r
}\r
public void loadDescriptors( Object source )\r
throws Exception\r
{\r
- loadDescriptors("MbeansDescriptorsDOMSource", source, null );\r
+ loadDescriptors("MbeansDescriptorsDigesterSource", source, null );\r
}\r
\r
/** @deprecated - may still be used in code using pre-1.1 builds\r