public class DefaultIndexManagerFactory extends Object implements IndexManagerFactory, Startable
IndexManager implementation for Hibernate Search.| Constructor and Description |
|---|
DefaultIndexManagerFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
aliasToFQN(String alias)
Provide a way to expand known aliases to fully qualified class names.
|
IndexManager |
createDefaultIndexManager() |
IndexManager |
createIndexManagerByName(String indexManagerImplementationName) |
protected IndexManager |
fromAlias(String alias)
Extension point: allow to override aliases or add new ones to
directly create class instances.
|
void |
start(Properties properties,
BuildContext context)
Start phase notification.
|
public IndexManager createDefaultIndexManager()
createDefaultIndexManager in interface IndexManagerFactorypublic IndexManager createIndexManagerByName(String indexManagerImplementationName)
createIndexManagerByName in interface IndexManagerFactoryindexManagerImplementationName - how this is resolved to an IndexManager type
is left to the implementor.public void start(Properties properties, BuildContext context)
Startableprotected String aliasToFQN(String alias)
fromAlias(String) we can use this to expand to well
known implementations which are optional on the classpath.alias - the alias to replace with the fully qualified class name of the implementationprotected IndexManager fromAlias(String alias)
alias - the requested aliasnull if the alias is unknown.Copyright © 2006–2017 Hibernate. All rights reserved.