public class ClasspathPackageProvider extends Object implements 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(Container container) |
Modifier and Type | Method and Description |
---|---|
void |
init(Configuration configuration) |
void |
loadPackages() |
boolean |
needsReload() |
public ClasspathPackageProvider(Container container)
public void init(Configuration configuration) throws ConfigurationException
init
in interface PackageProvider
ConfigurationException
public boolean needsReload()
needsReload
in interface PackageProvider
public void loadPackages() throws ConfigurationException
loadPackages
in interface PackageProvider
ConfigurationException
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.