org.apache.jackrabbit.core.fs
Interface FileSystemFactory
- All Known Implementing Classes:
- RepositoryConfig, SearchConfig, VersioningConfig, WorkspaceConfig
public interface FileSystemFactory
Factory interface for creating FileSystem
instances. Used
to decouple the repository internals from the repository configuration
mechanism.
getFileSystem
FileSystem getFileSystem()
throws RepositoryException
- Creates, initializes, and returns a
FileSystem
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
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.