public class StrutsJavaConfigurationProvider extends Object implements ConfigurationProvider
| Constructor and Description |
|---|
StrutsJavaConfigurationProvider(StrutsJavaConfiguration javaConfig) |
| 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
|
void |
setThrowExceptionOnDuplicateBeans(boolean val) |
void |
setValueSubstitutor(ValueSubstitutor valueSubstitutor) |
public StrutsJavaConfigurationProvider(StrutsJavaConfiguration javaConfig)
public void setThrowExceptionOnDuplicateBeans(boolean val)
public void setValueSubstitutor(ValueSubstitutor valueSubstitutor)
public 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 wrongpublic void init(Configuration configuration) throws ConfigurationException
ContainerProviderinit in interface ContainerProviderinit in interface PackageProviderconfiguration - The configurationConfigurationException - If anything goes wrongpublic boolean needsReload()
ContainerProviderneedsReload in interface ContainerProviderneedsReload in interface PackageProviderpublic void loadPackages()
throws ConfigurationException
PackageProviderloadPackages in interface PackageProviderConfigurationException - in case of configuration errorspublic void destroy()
ContainerProviderdestroy in interface ContainerProviderCopyright © 2000–2025 Apache Software Foundation. All rights reserved.