public class ClasspathConfigurationProvider extends Object implements ConfigurationProvider, DispatcherListener
Xwork will only reload configurations, if one ContainerProvider needs reloading, that's all this class does
| Constructor and Description |
|---|
ClasspathConfigurationProvider(Container container) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Not used.
|
void |
dispatcherDestroyed(Dispatcher du) |
void |
dispatcherInitialized(Dispatcher du) |
void |
init(Configuration configuration)
Not used.
|
void |
loadPackages()
Loads the packages using the
ActionConfigBuilder. |
boolean |
needsReload() |
void |
register(ContainerBuilder containerBuilder,
LocatableProperties locatableProperties)
Does nothing.
|
void |
setDevMode(String mode) |
void |
setReload(String reload) |
public ClasspathConfigurationProvider(Container container)
public void setDevMode(String mode)
public void setReload(String reload)
public void destroy()
destroy in interface ContainerProviderpublic void init(Configuration configuration)
init in interface ContainerProviderinit in interface PackageProviderconfiguration - configurationpublic void register(ContainerBuilder containerBuilder, LocatableProperties locatableProperties) throws ConfigurationException
register in interface ContainerProvidercontainerBuilder - container builderlocatableProperties - locatable propertiesConfigurationException - in case of configuration errorspublic void loadPackages()
throws ConfigurationException
ActionConfigBuilder.loadPackages in interface PackageProviderConfigurationException - in case of configuration errorspublic boolean needsReload()
needsReload in interface ContainerProviderneedsReload in interface PackageProviderpublic void dispatcherInitialized(Dispatcher du)
dispatcherInitialized in interface DispatcherListenerpublic void dispatcherDestroyed(Dispatcher du)
dispatcherDestroyed in interface DispatcherListenerCopyright © 2000–2024 Apache Software Foundation. All rights reserved.