Package org.apache.struts2.config
Class AbstractBeanSelectionProvider
java.lang.Object
org.apache.struts2.config.AbstractBeanSelectionProvider
- All Implemented Interfaces:
- BeanSelectionProvider,- ConfigurationProvider,- ContainerProvider,- PackageProvider
- Direct Known Subclasses:
- StrutsBeanSelectionProvider
TODO lukaszlenart: write a JavaDoc
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidalias(Class type, String key, ContainerBuilder builder, Properties props) protected voidalias(Class type, String key, ContainerBuilder builder, Properties props, Scope scope) voiddestroy()Called before removed from the configuration managervoidinit(Configuration configuration) Initializes with the configurationvoidLoads the packages for the configuration.booleanTells whether the ContainerProvider should reload its configurationMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.struts2.config.ContainerProviderregister
- 
Field Details- 
DEFAULT_BEAN_NAME- See Also:
 
 
- 
- 
Constructor Details- 
AbstractBeanSelectionProviderpublic AbstractBeanSelectionProvider()
 
- 
- 
Method Details- 
destroypublic void destroy()Description copied from interface:ContainerProviderCalled before removed from the configuration manager- Specified by:
- destroyin interface- ContainerProvider
 
- 
loadPackagesDescription copied from interface:PackageProviderLoads the packages for the configuration.- Specified by:
- loadPackagesin interface- PackageProvider
- Throws:
- ConfigurationException- in case of configuration errors
 
- 
initDescription copied from interface:ContainerProviderInitializes with the configuration- Specified by:
- initin interface- ContainerProvider
- Specified by:
- initin interface- PackageProvider
- Parameters:
- configuration- The configuration
- Throws:
- ConfigurationException- If anything goes wrong
 
- 
needsReloadpublic boolean needsReload()Description copied from interface:ContainerProviderTells whether the ContainerProvider should reload its configuration- Specified by:
- needsReloadin interface- ContainerProvider
- Specified by:
- needsReloadin interface- PackageProvider
- Returns:
- true, whether the ContainerProvider should reload its configuration, falseotherwise.
 
- 
alias
- 
aliasprotected void alias(Class type, String key, ContainerBuilder builder, Properties props, Scope scope) 
 
-