public interface IndexManager extends IndexManager
Modifier and Type | Method and Description |
---|---|
IndexProvider |
getProvider(String name)
Get the query index provider registered with the given name.
|
void |
register(IndexProvider provider)
Register a new already-instantiated
IndexProvider . |
void |
unregister(String providerName)
Unregister the
IndexProvider with the supplied name. |
createIndexColumnDefinitionTemplate, createIndexDefinitionTemplate, getIndexDefinitions, getProviderNames, registerIndex, registerIndexes, unregisterIndex
IndexProvider getProvider(String name)
name
- the name of the query index provider; may not be nullvoid register(IndexProvider provider) throws IndexProviderExistsException, RepositoryException
IndexProvider
.provider
- the new provider instance; may not be nullIndexProviderExistsException
- if there is already an existing index provider with the same nameRepositoryException
- if there is a problem registering the providervoid unregister(String providerName) throws NoSuchProviderException, RepositoryException
IndexProvider
with the supplied name.providerName
- the name of the query index provider; may not be nullNoSuchProviderException
- there is no index provider with the supplied nameRepositoryException
- if there is a problem unregistering the providerCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.