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
-
Method Summary
-
Constructor Details
-
ClasspathPackageProvider
-
-
Method Details
-
init
- Specified by:
init
in interfacePackageProvider
- Throws:
ConfigurationException
-
needsReload
public boolean needsReload()- Specified by:
needsReload
in interfacePackageProvider
-
loadPackages
- Specified by:
loadPackages
in interfacePackageProvider
- Throws:
ConfigurationException
-