org.jboss.metadata
Class XmlFileLoader
java.lang.Object
|
+--org.jboss.metadata.XmlFileLoader
- public class XmlFileLoader
- extends java.lang.Object
- Version:
- $Revision: 1.12 $
- Author:
- Sebastien Alborini, Wolfgang Werner
- See Also:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlFileLoader
public XmlFileLoader()
getMetaData
public ApplicationMetaData getMetaData()
setClassLoader
public void setClassLoader(java.lang.ClassLoader cl)
getClassLoader
public java.lang.ClassLoader getClassLoader()
load
public ApplicationMetaData load()
throws java.lang.Exception
- load()
This method creates the ApplicationMetaData.
The configuration files are found in the classLoader.
The default jboss.xml and jaws.xml files are always read first, then we override
the defaults if the user provides them
getDocument
public static org.w3c.dom.Document getDocument(java.net.URL url)
throws DeploymentException
getDocument
public static org.w3c.dom.Document getDocument(java.io.InputStream _in)
throws DeploymentException
Copyright © 2000 The JBoss Organization. All Rights Reserved.