|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.impl.DwrXmlConfigurator
public class DwrXmlConfigurator
A configurator that gets its configuration by reading a dwr.xml file.
| Field Summary | |
|---|---|
static Logger |
log
The log stream |
| Constructor Summary | |
|---|---|
DwrXmlConfigurator()
|
|
| Method Summary | |
|---|---|
void |
configure(Container container)
Do the Configuration actions |
void |
setClassResourceName(java.lang.String classResourceName)
Setter for a classpath based lookup |
void |
setDocument(org.w3c.dom.Document document)
To set the configuration document directly |
void |
setInputStream(java.io.InputStream in)
Setter for a direct input stream to configure from |
void |
setServletResourceName(java.lang.String servletResourceName)
Setter for the resource name that we can use to read a file from the servlet context |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Logger log
| Constructor Detail |
|---|
public DwrXmlConfigurator()
| Method Detail |
|---|
public void setServletResourceName(java.lang.String servletResourceName)
throws java.io.IOException,
javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException
servletResourceName - The name to lookup
java.io.IOException - On file read failure
javax.xml.parsers.ParserConfigurationException - On XML setup failure
org.xml.sax.SAXException - On XML parse failure
public void setClassResourceName(java.lang.String classResourceName)
throws java.io.IOException,
javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException
classResourceName - The resource to lookup in the classpath
java.io.IOException - On file read failure
javax.xml.parsers.ParserConfigurationException - On XML setup failure
org.xml.sax.SAXException - On XML parse failure
public void setInputStream(java.io.InputStream in)
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException
in - The input stream to read from.
java.io.IOException - On file read failure
javax.xml.parsers.ParserConfigurationException - On XML setup failure
org.xml.sax.SAXException - On XML parse failurepublic void setDocument(org.w3c.dom.Document document)
document - The new configuration documentpublic void configure(Container container)
Configurator
configure in interface Configuratorcontainer - The object that contains the system objects to configurepublic java.lang.String toString()
toString in class java.lang.Object
|
Copyright ¬ 2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||