Package org.apache.struts2.config
Class FileManagerProvider
java.lang.Object
org.apache.struts2.config.FileManagerProvider
- All Implemented Interfaces:
- ContainerProvider
Allows to specify custom 
FileManager by user- 
Constructor SummaryConstructorsConstructorDescriptionFileManagerProvider(Class<? extends FileManager> fileManagerClass, String name) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddestroy()Called before removed from the configuration managervoidinit(Configuration configuration) Initializes with the configurationbooleanTells whether the ContainerProvider should reload its configurationvoidregister(ContainerBuilder builder, LocatableProperties props) Registers beans and properties for the Container
- 
Constructor Details- 
FileManagerProvider
 
- 
- 
Method Details- 
destroypublic void destroy()Description copied from interface:ContainerProviderCalled before removed from the configuration manager- Specified by:
- destroyin interface- ContainerProvider
 
- 
initDescription copied from interface:ContainerProviderInitializes with the configuration- Specified by:
- initin interface- ContainerProvider
- 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
- Returns:
- true, whether the ContainerProvider should reload its configuration, falseotherwise.
 
- 
registerpublic void register(ContainerBuilder builder, LocatableProperties props) throws ConfigurationException Description copied from interface:ContainerProviderRegisters beans and properties for the Container- Specified by:
- registerin interface- ContainerProvider
- Parameters:
- builder- The builder to register beans with
- props- The properties to register constants with
- Throws:
- ConfigurationException- If anything goes wrong
 
 
-