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.ContainerProvider
public void init(com.opensymphony.xwork2.config.Configuration configuration)
init
in interface com.opensymphony.xwork2.config.ContainerProvider
init
in interface com.opensymphony.xwork2.config.PackageProvider
public 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.ContainerProvider
com.opensymphony.xwork2.config.ConfigurationException
public void loadPackages() throws com.opensymphony.xwork2.config.ConfigurationException
ActionConfigBuilder
.loadPackages
in interface com.opensymphony.xwork2.config.PackageProvider
com.opensymphony.xwork2.config.ConfigurationException
public boolean needsReload()
needsReload
in interface com.opensymphony.xwork2.config.ContainerProvider
needsReload
in interface com.opensymphony.xwork2.config.PackageProvider
public void dispatcherInitialized(Dispatcher du)
dispatcherInitialized
in interface DispatcherListener
public void dispatcherDestroyed(Dispatcher du)
dispatcherDestroyed
in interface DispatcherListener
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.