public class ClasspathPackageProvider extends Object implements com.opensymphony.xwork2.config.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 and Description |
|---|
ClasspathPackageProvider(com.opensymphony.xwork2.inject.Container container) |
| Modifier and Type | Method and Description |
|---|---|
void |
init(com.opensymphony.xwork2.config.Configuration configuration) |
void |
loadPackages() |
boolean |
needsReload() |
public ClasspathPackageProvider(com.opensymphony.xwork2.inject.Container container)
public void init(com.opensymphony.xwork2.config.Configuration configuration)
throws com.opensymphony.xwork2.config.ConfigurationException
init in interface com.opensymphony.xwork2.config.PackageProvidercom.opensymphony.xwork2.config.ConfigurationExceptionpublic boolean needsReload()
needsReload in interface com.opensymphony.xwork2.config.PackageProviderpublic void loadPackages()
throws com.opensymphony.xwork2.config.ConfigurationException
loadPackages in interface com.opensymphony.xwork2.config.PackageProvidercom.opensymphony.xwork2.config.ConfigurationExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.