|
||||||||||
| 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(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 ContainerProviderpublic void init(Configuration configuration)
init in interface ContainerProviderinit in interface PackageProvider
public void register(com.opensymphony.xwork2.inject.ContainerBuilder containerBuilder,
com.opensymphony.xwork2.util.location.LocatableProperties locatableProperties)
throws ConfigurationException
register in interface ContainerProviderConfigurationException
public void loadPackages()
throws ConfigurationException
ActionConfigBuilder.
loadPackages in interface PackageProviderConfigurationExceptionpublic boolean needsReload()
needsReload in interface ContainerProviderneedsReload in interface PackageProviderpublic void dispatcherInitialized(Dispatcher du)
dispatcherInitialized in interface DispatcherListenerpublic void dispatcherDestroyed(Dispatcher du)
dispatcherDestroyed in interface DispatcherListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||