public class SearchConfig extends BeanConfig implements FileSystemFactory
In addition to generic bean configuration information, this class also contains an optional file system configuration used by the search index.
| Constructor and Description |
|---|
SearchConfig(String className,
Properties properties,
FileSystemFactory fsf)
Creates a search index configuration object.
|
| Modifier and Type | Method and Description |
|---|---|
FileSystem |
getFileSystem()
Creates and returns the configured search file system, or returns
null if a search file system has not been configured. |
getClassLoader, getClassName, getDefaultClassLoader, getParameters, newInstance, setClassLoader, setConnectionFactory, setDefaultClassLoader, setInstanceFactory, setValidatepublic SearchConfig(String className, Properties properties, FileSystemFactory fsf)
className - search index implementation classproperties - search index propertiesfsf - configured search index file system factory, or nullpublic FileSystem getFileSystem() throws RepositoryException
null if a search file system has not been configured.getFileSystem in interface FileSystemFactoryFileSystem, or nullRepositoryException - if the file system can not be createdCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.