Class ConfluenceStrutsConfigurationProvider
- java.lang.Object
-
- com.atlassian.confluence.impl.struts.ConfluenceStrutsConfigurationProvider
-
- All Implemented Interfaces:
com.opensymphony.xwork2.config.ConfigurationProvider
,com.opensymphony.xwork2.config.ContainerProvider
,com.opensymphony.xwork2.config.PackageProvider
public class ConfluenceStrutsConfigurationProvider extends Object implements com.opensymphony.xwork2.config.ConfigurationProvider
This class wires/overrides Struts settings from Confluence file and runtime configuration
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConfluenceStrutsConfigurationProvider.ConfluenceStrutsSettings
-
Constructor Summary
Constructors Constructor Description ConfluenceStrutsConfigurationProvider(BootstrapManager bootstrapManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
void
init(com.opensymphony.xwork2.config.Configuration configuration)
void
loadPackages()
boolean
needsReload()
void
register(com.opensymphony.xwork2.inject.ContainerBuilder builder, com.opensymphony.xwork2.util.location.LocatableProperties props)
-
-
-
Constructor Detail
-
ConfluenceStrutsConfigurationProvider
public ConfluenceStrutsConfigurationProvider(BootstrapManager bootstrapManager)
-
-
Method Detail
-
destroy
public void destroy()
- Specified by:
destroy
in interfacecom.opensymphony.xwork2.config.ContainerProvider
-
init
public void init(com.opensymphony.xwork2.config.Configuration configuration) throws com.opensymphony.xwork2.config.ConfigurationException
- Specified by:
init
in interfacecom.opensymphony.xwork2.config.ContainerProvider
- Specified by:
init
in interfacecom.opensymphony.xwork2.config.PackageProvider
- Throws:
com.opensymphony.xwork2.config.ConfigurationException
-
needsReload
public boolean needsReload()
- Specified by:
needsReload
in interfacecom.opensymphony.xwork2.config.ContainerProvider
- Specified by:
needsReload
in interfacecom.opensymphony.xwork2.config.PackageProvider
-
loadPackages
public void loadPackages() throws com.opensymphony.xwork2.config.ConfigurationException
- Specified by:
loadPackages
in interfacecom.opensymphony.xwork2.config.PackageProvider
- Throws:
com.opensymphony.xwork2.config.ConfigurationException
-
register
public void register(com.opensymphony.xwork2.inject.ContainerBuilder builder, com.opensymphony.xwork2.util.location.LocatableProperties props) throws com.opensymphony.xwork2.config.ConfigurationException
- Specified by:
register
in interfacecom.opensymphony.xwork2.config.ContainerProvider
- Throws:
com.opensymphony.xwork2.config.ConfigurationException
-
-