|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork2.config.providers.XmlConfigurationProvider
org.apache.struts2.config.StrutsXMLConfigurationProvider
public class StrutsXMLConfigurationProvider
Override Xwork class so we can use an arbitrary config file
| Constructor Summary | |
|---|---|
StrutsXMLConfigurationProvider(boolean errorIfMissing)
Constructs the configuration provider |
|
StrutsXMLConfigurationProvider(java.lang.String filename,
boolean errorIfMissing)
Constructs the configuration provider |
|
| Method Summary | |
|---|---|
protected java.net.URL |
findInFileSystem(java.lang.String fileName)
|
protected java.util.Iterator<java.net.URL> |
getConfigurationUrls(java.lang.String fileName)
Look for the configuration file on the classpath and in the file system |
| Methods inherited from class com.opensymphony.xwork2.config.providers.XmlConfigurationProvider |
|---|
addAction, addPackage, addResultTypes, buildExceptionMappings, buildExternalRefs, buildInterceptorList, buildPackageContext, buildResults, destroy, equals, getDtdMappings, hashCode, init, loadDefaultActionRef, loadDefaultInterceptorRef, loadExtraConfiguration, loadGlobalResults, loadGobalExceptionMappings, loadInterceptors, loadInterceptorStack, loadInterceptorStacks, needsReload, setDtdMappings, verifyAction, verifyResultType |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StrutsXMLConfigurationProvider(boolean errorIfMissing)
errorIfMissing - If we should throw an exception if the file can't be found
public StrutsXMLConfigurationProvider(java.lang.String filename,
boolean errorIfMissing)
filename - The filename to look forerrorIfMissing - If we should throw an exception if the file can't be found| Method Detail |
|---|
protected java.util.Iterator<java.net.URL> getConfigurationUrls(java.lang.String fileName)
throws java.io.IOException
getConfigurationUrls in class com.opensymphony.xwork2.config.providers.XmlConfigurationProviderfileName - The file name to retrieve
java.io.IOExceptioncom.opensymphony.xwork2.config.providers.XmlConfigurationProvider#getInputStream(java.lang.String)
protected java.net.URL findInFileSystem(java.lang.String fileName)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||