| com.jofti.config.IndexConfig
All known Subclasses: com.jofti.config.DefaultIndexConfig,
IndexConfig | public interface IndexConfig (Code) | | Configuration interface for Jofti. The config object supplies the index to be created,
the properties for the index and the classes to index. The class also provides for
pass through configuration for the IndexCache Implmenetation as each IndexCache requires its config file
in a different format.
This interface is used in the programmatic addition of a cache to Jofti.
author: Steve Woodcock (steve@jofti.com) version: 1.0
|
addMapping | public void addMapping(String clazz, List propertyList)(Code) | | Adds a mapping entry to the IndexCache Mapping Map. The format is
key as String classname
Parameters: clazz - Parameters: propertyList - |
addQuery | public void addQuery(String name, String query)(Code) | | Adds a mapping entry to the IndexCache Mapping Map. The format is
key as String classname
Parameters: clazz - Parameters: propertyList - |
getAdapterProperties | public Properties getAdapterProperties()(Code) | | returns any properties for the adapter.
A property object |
getCacheAdapter | public String getCacheAdapter()(Code) | | The cacheAdapter implementation to use.
String representation for the adapter |
getIndexMappings | public Map getIndexMappings()(Code) | | Returns a Map of the index mappings. Format is String class name as akey to a List of
String filed names as defined in the config XMl examples. See user guide for examples.
map of indexed classes. |
getIndexType | public String getIndexType()(Code) | | Returns the IndexCache type to use.
the index type. |
getName | public String getName()(Code) | | The name of the cache to be added.
name of IndexCache |
getParserType | public String getParserType()(Code) | | returns the object introspector type.
the introspector class name |
getQueryMappings | public Map getQueryMappings()(Code) | | Returns a Map of the query mappings. Format is String class name as a key to a query. See user guide for examples.
map of indexed classes. |
isLazyLoaded | public boolean isLazyLoaded()(Code) | | |
|
|