|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork2.config.FileManagerProvider
public class FileManagerProvider
Allows to specify custom FileManager
by user
Constructor Summary | |
---|---|
FileManagerProvider(Class<? extends FileManager> fileManagerClass,
String name)
|
Method Summary | |
---|---|
void |
destroy()
Called before removed from the configuration manager |
void |
init(Configuration configuration)
Initializes with 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileManagerProvider(Class<? extends FileManager> fileManagerClass, String name)
Method Detail |
---|
public void destroy()
ContainerProvider
destroy
in interface ContainerProvider
public void init(Configuration configuration) throws ConfigurationException
ContainerProvider
init
in interface ContainerProvider
configuration
- The configuration
ConfigurationException
- If anything goes wrongpublic boolean needsReload()
ContainerProvider
needsReload
in interface ContainerProvider
public void register(ContainerBuilder builder, LocatableProperties props) throws ConfigurationException
ContainerProvider
register
in interface ContainerProvider
builder
- The builder to register beans withprops
- The properties to register constants with
ConfigurationException
- If anything goes wrong
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |