|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts2.convention.ClasspathConfigurationProvider
public class ClasspathConfigurationProvider
Xwork will only reload configurations, if one ContainerProvider needs reloading, that's all this class does
Constructor Summary | |
---|---|
ClasspathConfigurationProvider(com.opensymphony.xwork2.inject.Container container)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClasspathConfigurationProvider(com.opensymphony.xwork2.inject.Container container)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |