public class ClasspathConfigurationProvider extends Object implements com.opensymphony.xwork2.config.ConfigurationProvider, DispatcherListener
Xwork will only reload configurations, if one ContainerProvider needs reloading, that's all this class does
| Constructor and Description |
|---|
ClasspathConfigurationProvider(com.opensymphony.xwork2.inject.Container container) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Not used.
|
void |
dispatcherDestroyed(Dispatcher du) |
void |
dispatcherInitialized(Dispatcher du) |
void |
init(com.opensymphony.xwork2.config.Configuration configuration)
Not used.
|
void |
loadPackages()
Loads the packages using the
ActionConfigBuilder. |
boolean |
needsReload()
Depends on devMode, relead and actionConfigBuilder.needsReload()
|
void |
register(com.opensymphony.xwork2.inject.ContainerBuilder containerBuilder,
com.opensymphony.xwork2.util.location.LocatableProperties locatableProperties)
Does nothing.
|
void |
setDevMode(String mode) |
void |
setReload(String reload) |
public ClasspathConfigurationProvider(com.opensymphony.xwork2.inject.Container container)
public void setDevMode(String mode)
public void setReload(String reload)
public void destroy()
destroy in interface com.opensymphony.xwork2.config.ContainerProviderpublic void init(com.opensymphony.xwork2.config.Configuration configuration)
init in interface com.opensymphony.xwork2.config.ContainerProviderinit in interface com.opensymphony.xwork2.config.PackageProviderpublic void register(com.opensymphony.xwork2.inject.ContainerBuilder containerBuilder,
com.opensymphony.xwork2.util.location.LocatableProperties locatableProperties)
throws com.opensymphony.xwork2.config.ConfigurationException
register in interface com.opensymphony.xwork2.config.ContainerProvidercom.opensymphony.xwork2.config.ConfigurationExceptionpublic void loadPackages()
throws com.opensymphony.xwork2.config.ConfigurationException
ActionConfigBuilder.loadPackages in interface com.opensymphony.xwork2.config.PackageProvidercom.opensymphony.xwork2.config.ConfigurationExceptionpublic boolean needsReload()
needsReload in interface com.opensymphony.xwork2.config.ContainerProviderneedsReload in interface com.opensymphony.xwork2.config.PackageProviderpublic void dispatcherInitialized(Dispatcher du)
dispatcherInitialized in interface DispatcherListenerpublic void dispatcherDestroyed(Dispatcher du)
dispatcherDestroyed in interface DispatcherListenerCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.