Package org.apache.struts2.convention
Class ClasspathPackageProvider
java.lang.Object
org.apache.struts2.convention.ClasspathPackageProvider
- All Implemented Interfaces:
PackageProvider
This class is a configuration provider for the XWork configuration
system. This is really the only way to truly handle loading of the
packages, actions and results correctly. This doesn't contain any
logic and instead delegates to the configured instance of the
ActionConfigBuilder interface.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ClasspathPackageProvider
-
-
Method Details
-
init
- Specified by:
initin interfacePackageProvider- Throws:
ConfigurationException
-
needsReload
public boolean needsReload()- Specified by:
needsReloadin interfacePackageProvider
-
loadPackages
- Specified by:
loadPackagesin interfacePackageProvider- Throws:
ConfigurationException
-