public class BambooXworkOverrideConfigurationProvider extends Object implements com.opensymphony.xwork2.config.ConfigurationProvider, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Constructor and Description |
---|
BambooXworkOverrideConfigurationProvider(com.atlassian.plugin.PluginAccessor pluginAccessor)
Creates a new
BambooXworkOverrideConfigurationProvider and adds it to the list of providers maintained by the
ConfigurationManager . |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
void |
init(com.opensymphony.xwork2.config.Configuration config) |
void |
loadPackages() |
boolean |
needsReload()
Determines whether or not this OverrideConfigurationProvider needs to be reloaded.
|
void |
register(com.opensymphony.xwork2.inject.ContainerBuilder containerBuilder,
com.opensymphony.xwork2.util.location.LocatableProperties locatableProperties) |
public BambooXworkOverrideConfigurationProvider(com.atlassian.plugin.PluginAccessor pluginAccessor)
BambooXworkOverrideConfigurationProvider
and adds it to the list of providers maintained by the
ConfigurationManager
.public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
public void destroy()
destroy
in interface com.opensymphony.xwork2.config.ContainerProvider
destroy
in interface org.springframework.beans.factory.DisposableBean
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
loadPackages
in interface com.opensymphony.xwork2.config.PackageProvider
com.opensymphony.xwork2.config.ConfigurationException
public void init(com.opensymphony.xwork2.config.Configuration config) throws com.opensymphony.xwork2.config.ConfigurationException
init
in interface com.opensymphony.xwork2.config.ContainerProvider
init
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
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.