org.tm4j.topicmap.index.ConfigurableIndexProvider .newIndex(java.lang.String interfaceName,org.tm4j.topicmap.TopicMap tm)

Description

SPI for the ConfigurableIndexProvider class. Concrete implementations of this class must implement this method to return a new instance of the index which implements the interface with the name interfaceName. The ConfigurableIndexProvider class will handle the caching of instances.

Parameters
java.lang.String interfaceName the name of the interface that the new index instance must implement.
org.tm4j.topicmap.TopicMap tm the TopicMap to be indexed by the new instance

Returns

a new instance of the index which implements the specified interface.

Other Resources

Related Topics