com.raritantechnologies.searchApp.database
Class DatabaseConfigurationManager

java.lang.Object
  extended bycom.raritantechnologies.searchApp.ConfigurationManager
      extended bycom.raritantechnologies.searchApp.database.DatabaseConfigurationManager

public class DatabaseConfigurationManager
extends ConfigurationManager

Enables the creation of persistent, reusable configuration modules.

XML Configuration Template:
   <ConfigurationXML>

   </ConfigurationXML>
 
Module_type - module_name - Module configuration


Field Summary
 
Fields inherited from class com.raritantechnologies.searchApp.ConfigurationManager
DEFAULT_FEDERATOR_CLASS, theScheduler, theSourceMapFactory
 
Constructor Summary
DatabaseConfigurationManager()
           
 
Method Summary
 IQueryProcessor getQueryProcessor(java.lang.String sourceType)
          Returns an instance of an IQueryProcessor for a particular type of search source.
 ISearchFieldMapFactory getSearchFieldMapFactory()
          returns an instance of a SearchFieldMap Factory object.
 ISecurityManager getSecurityManager()
          returns an instance of the ISecurityManager that is used with this configuration.
 ISecurityManager getSecurityManager(java.lang.String securityManagerName)
           
 ISourceMapFactory getSourceMapFactory()
           
 java.lang.Object getSystemObject(java.lang.String type, java.lang.String name)
           
 java.util.Map getSystemObjects(java.lang.String type)
           
protected  void initialize(java.util.PropertyResourceBundle prb)
           
 
Methods inherited from class com.raritantechnologies.searchApp.ConfigurationManager
addSecurityManager, addSourceMap, addSystemObject, changeBasePath, changeToSysPathSep, createSystemObject, getAbstractSearchField, getBasePath, getConfigPath, getConfigPath, getDebugWriter, getFederatorClass, getInstance, getInstance, getLogger, getLoginPath, getPrb, getScheduler, getSearchFieldMap, getSearchSources, getSourceMap, getSourceMap, getStreamFactory, getSysConfigProperty, initializeLog4JLogging, initializeLogger, listSystemProperties, printStackTrace, returnConfiguredObject, setFederatorClass, setStreamFactory, useLog4JLogging, write, writeDebug, writeDebug, writeDebug, writeDebug, writeDebug, writeError, writeError, writeError, writeError, writeError, writeFatal, writeFatal, writeFatal, writeFatal, writeFatal, writeInfo, writeInfo, writeInfo, writeWarning, writeWarning, writeWarning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseConfigurationManager

public DatabaseConfigurationManager()
Method Detail

initialize

protected void initialize(java.util.PropertyResourceBundle prb)
Specified by:
initialize in class ConfigurationManager

getQueryProcessor

public IQueryProcessor getQueryProcessor(java.lang.String sourceType)
Description copied from class: ConfigurationManager
Returns an instance of an IQueryProcessor for a particular type of search source.

Specified by:
getQueryProcessor in class ConfigurationManager
Parameters:
sourceType - Identifies the processor to be used for a particular type of search.

getSecurityManager

public ISecurityManager getSecurityManager()
Description copied from class: ConfigurationManager
returns an instance of the ISecurityManager that is used with this configuration. This allows for the security implementation to change.

Specified by:
getSecurityManager in class ConfigurationManager

getSecurityManager

public ISecurityManager getSecurityManager(java.lang.String securityManagerName)
Overrides:
getSecurityManager in class ConfigurationManager

getSearchFieldMapFactory

public ISearchFieldMapFactory getSearchFieldMapFactory()
Description copied from class: ConfigurationManager
returns an instance of a SearchFieldMap Factory object.

Specified by:
getSearchFieldMapFactory in class ConfigurationManager

getSourceMapFactory

public ISourceMapFactory getSourceMapFactory()
Specified by:
getSourceMapFactory in class ConfigurationManager

getSystemObjects

public java.util.Map getSystemObjects(java.lang.String type)
Overrides:
getSystemObjects in class ConfigurationManager

getSystemObject

public java.lang.Object getSystemObject(java.lang.String type,
                                        java.lang.String name)
Overrides:
getSystemObject in class ConfigurationManager