org.tm4j.topicmap.index .ConfigurableIndexProvider
Description
An abstract implementation of an IndexProvider that provides access to one or more topic map indexes which require configuration information to be correctly initialised.
The lifecycle for a ConfigurableIndexProvider is as follows:
- Application creates new ConfigurableIndexProvider instance, optionally specifying the index configuration properties for the indexes.
- Application registers ConfigurableIndexProvider instance with the IndexManager
- IndexManager invokes the initialise() method of the ConfigurableIndexProvider passing the TopicMap being indexed as a parameter.
Inheritance Hierarchy
- java.lang.Object
- ConfigurableIndexProvider
Interfaces
Method Summary | |
---|---|
Index |
getIndex(java.lang.String interfaceName)
Returns the index named interfaceName .
|
void |
initialise(org.tm4j.topicmap.TopicMap tm)
The initialisation hook called by the IndexManager
that manages this provider.
|
Index |
newIndex(java.lang.String interfaceName,org.tm4j.topicmap.TopicMap tm)
SPI for the ConfigurableIndexProvider class.
|
Related Topics
Imports
Is Contained By