public class XWorkConfigurationProvider extends Object implements ConfigurationProvider
| Constructor and Description | 
|---|
XWorkConfigurationProvider()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
destroy()
Called before removed from the configuration manager 
 | 
void | 
init(Configuration configuration)
Initializes with the configuration 
 | 
void | 
loadPackages()
Loads the packages for the configuration. 
 | 
boolean | 
needsReload()
Tells whether the ContainerProvider should reload its configuration 
 | 
void | 
register(ContainerBuilder builder,
        LocatableProperties props)
Registers beans and properties for the Container 
 | 
public void destroy()
ContainerProviderdestroy in interface ContainerProviderpublic void init(Configuration configuration) throws ConfigurationException
ContainerProviderinit in interface ContainerProviderinit in interface PackageProviderconfiguration - The configurationConfigurationException - If anything goes wrongpublic void loadPackages()
                  throws ConfigurationException
PackageProviderloadPackages in interface PackageProviderConfigurationException - in case of configuration errorspublic boolean needsReload()
ContainerProviderneedsReload in interface ContainerProviderneedsReload in interface PackageProviderpublic void register(ContainerBuilder builder, LocatableProperties props) throws ConfigurationException
ContainerProviderregister in interface ContainerProviderbuilder - The builder to register beans withprops - The properties to register constants withConfigurationException - If anything goes wrongCopyright © 2000–2020 Apache Software Foundation. All rights reserved.