Package org.apache.jackrabbit.core.fs
Interface FileSystemFactory
-
- All Known Implementing Classes:
RepositoryConfig
,SearchConfig
,VersioningConfig
,WorkspaceConfig
public interface FileSystemFactory
Factory interface for creatingFileSystem
instances. Used to decouple the repository internals from the repository configuration mechanism.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FileSystem
getFileSystem()
Creates, initializes, and returns aFileSystem
instance for use by the repository.
-
-
-
Method Detail
-
getFileSystem
FileSystem getFileSystem() throws RepositoryException
Creates, initializes, and returns aFileSystem
instance for use by the repository. Note that no information is passed from the client, so all required configuration information must be encapsulated in the factory.- Returns:
- initialized file system
- Throws:
RepositoryException
- if the file system can not be created
-
-