public class SearchConfig extends BeanConfig implements org.apache.jackrabbit.core.fs.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,
org.apache.jackrabbit.core.fs.FileSystemFactory fsf)
Creates a search index configuration object.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.jackrabbit.core.fs.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, org.apache.jackrabbit.core.fs.FileSystemFactory fsf)
className - search index implementation classproperties - search index propertiesfsf - configured search index file system factory, or nullpublic org.apache.jackrabbit.core.fs.FileSystem getFileSystem()
throws RepositoryException
null if a search file system has not been configured.getFileSystem in interface org.apache.jackrabbit.core.fs.FileSystemFactoryFileSystem, or nullRepositoryException - if the file system can not be createdCopyright © 2004–2018 The Apache Software Foundation. All rights reserved.