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:

  1. Application creates new ConfigurableIndexProvider instance, optionally specifying the index configuration properties for the indexes.
  2. Application registers ConfigurableIndexProvider instance with the IndexManager
  3. IndexManager invokes the initialise() method of the ConfigurableIndexProvider passing the TopicMap being indexed as a parameter.

Inheritance Hierarchy

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.