org.apache.jackrabbit.core.config
Class SearchConfig
java.lang.Object
org.apache.jackrabbit.core.config.BeanConfig
org.apache.jackrabbit.core.config.SearchConfig
- All Implemented Interfaces:
- FileSystemFactory
public class SearchConfig
- extends BeanConfig
- implements FileSystemFactory
Search index configuration. This bean configuration class
is used to create configured search index objects.
In addition to generic bean configuration information, this
class also contains an optional file system configuration
used by the search index.
- See Also:
WorkspaceConfig#getSearchConfig()
Method Summary |
FileSystem |
getFileSystem()
Creates and returns the configured search file system, or returns
null if a search file system has not been configured. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchConfig
public SearchConfig(String className,
Properties properties,
FileSystemFactory fsf)
- Creates a search index configuration object.
- Parameters:
className
- search index implementation classproperties
- search index propertiesfsf
- configured search index file system factory, or null
getFileSystem
public FileSystem getFileSystem()
throws RepositoryException
- Creates and returns the configured search file system, or returns
null
if a search file system has not been configured.
- Specified by:
getFileSystem
in interface FileSystemFactory
- Returns:
- the configured
FileSystem
, or null
- Throws:
RepositoryException
- if the file system can not be created
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.