| org.apache.struts2.config.StrutsXmlConfigurationProvider
StrutsXmlConfigurationProvider | public class StrutsXmlConfigurationProvider extends XmlConfigurationProvider (Code) | | Override Xwork class so we can use an arbitrary config file
|
StrutsXmlConfigurationProvider | public StrutsXmlConfigurationProvider(boolean errorIfMissing)(Code) | | Constructs the configuration provider
Parameters: errorIfMissing - If we should throw an exception if the file can't be found |
StrutsXmlConfigurationProvider | public StrutsXmlConfigurationProvider(String filename, boolean errorIfMissing, ServletContext ctx)(Code) | | Constructs the configuration provider
Parameters: filename - The filename to look for Parameters: errorIfMissing - If we should throw an exception if the file can't be found Parameters: ctx - Our ServletContext |
getConfigurationUrls | protected Iterator<URL> getConfigurationUrls(String fileName) throws IOException(Code) | | Look for the configuration file on the classpath and in the file system
Parameters: fileName - The file name to retrieve See Also: com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.getConfigurationUrls |
loadPackages | public void loadPackages()(Code) | | |
needsReload | public boolean needsReload()(Code) | | Overrides needs reload to ensure it is only checked once per request
|
register | public void register(ContainerBuilder containerBuilder, LocatableProperties props) throws ConfigurationException(Code) | | |
|
|