|
||||||||||
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(Container container)
|
Method Summary | |
---|---|
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()
Depends on devMode, relead and actionConfigBuilder.needsReload() |
void |
register(ContainerBuilder containerBuilder,
LocatableProperties locatableProperties)
Does nothing. |
void |
setDevMode(java.lang.String mode)
|
void |
setReload(java.lang.String reload)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClasspathConfigurationProvider(Container container)
Method Detail |
---|
public void setDevMode(java.lang.String mode)
public void setReload(java.lang.String reload)
public void destroy()
destroy
in interface ContainerProvider
public void init(Configuration configuration)
init
in interface ContainerProvider
init
in interface PackageProvider
public void register(ContainerBuilder containerBuilder, LocatableProperties locatableProperties) throws ConfigurationException
register
in interface ContainerProvider
ConfigurationException
public void loadPackages() throws ConfigurationException
ActionConfigBuilder
.
loadPackages
in interface PackageProvider
ConfigurationException
public boolean needsReload()
needsReload
in interface ContainerProvider
needsReload
in interface 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 |