|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.core.config.BeanConfig org.apache.jackrabbit.core.config.FileSystemConfig
File system configuration. This bean configuration class
is used to create a configured file system object. The file system
is instantiated by the init()
method, and accessible
using the getFileSystem()
method. Calling
dispose()
will close and dispose a file system instance
previously created by the init()
method.
Constructor Summary | |
FileSystemConfig(BeanConfig config)
Creates a file system configuration object. |
Method Summary | |
void |
dispose()
Closes and disposes a file system instance previously created by the init() method, i.e. |
FileSystem |
getFileSystem()
Returns the configured file system. |
void |
init()
Instantiates and initializes the configured file system implementation class. |
Methods inherited from class org.apache.jackrabbit.core.config.BeanConfig |
getClassName, getParameters, newInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileSystemConfig(BeanConfig config)
config
- file system implementation class configurationMethod Detail |
public void init() throws ConfigurationException, IllegalStateException
ConfigurationException
- on file system initialization errors
IllegalStateException
- if the file system has already been
initializedpublic void dispose()
init()
method, i.e. resets this instance to the
uninitialized state.
public FileSystem getFileSystem() throws IllegalStateException
init()
method
must have been called before this method can be invoked.
IllegalStateException
- if the file system has not been initialized
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |