|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.searchApp.ConfigurationManager
com.raritantechnologies.searchApp.XMLConfigurationManager
Subclass of ConfigurationManager that initializes application configuration information from an XML file.
Uses XMLSearchFieldMapFactory to initialize SearchSource objects and user interface elements.
Subclasses of XMLConfigurationManager (e.g. FederatedConfigurationManager, QuickstartConfigurationManager, WebServicesConfigurationManager) perform additional initializations specific to a particular Application Framework.
| Field Summary |
| Fields inherited from class com.raritantechnologies.searchApp.ConfigurationManager |
DEFAULT_FEDERATOR_CLASS, theScheduler, theSourceMapFactory |
| Constructor Summary | |
XMLConfigurationManager()
|
|
| Method Summary | |
void |
addConfigurableFactoryLink(java.lang.String objectType,
java.lang.String objectName,
java.lang.String factoryObject)
|
void |
addSystemObjects(org.w3c.dom.Element configDocElem)
Add System Objects: SystemObjects must implement the IConfigurable interface. |
void |
addUserInfoReaders(org.w3c.dom.Element configDocElem)
Add User Information Readers from Configuration XML. |
protected boolean |
createSystemObject(java.lang.String name)
|
protected org.w3c.dom.Document |
getConfigDoc()
|
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. |
ISourceMapFactory |
getSourceMapFactory()
|
protected XMLSearchFieldMapFactory |
getXMLSearchFieldMapFactory()
|
protected void |
initialize(java.util.PropertyResourceBundle prb)
|
void |
processSourceElement(org.w3c.dom.Element elem)
Subclasses should override this to process new SourceType element |
protected java.lang.Object |
returnConfiguredObject(java.lang.String type,
java.lang.String name,
java.lang.Object sysObject)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMLConfigurationManager()
| Method Detail |
protected void initialize(java.util.PropertyResourceBundle prb)
initialize in class ConfigurationManagerpublic void addSystemObjects(org.w3c.dom.Element configDocElem)
<SystemObjects>
<SystemObject type="class or funtion type" name="specific name"
factoryClass="[optional implementation of IConfigurableFactory]"
configurableClass="[ ALTERNATE - IConfigurable class]"
instanceType="single|multiple(default)" >
<!-- Configurable Object properties -->
</SystemObject>
</SystemObjects>
protected boolean createSystemObject(java.lang.String name)
createSystemObject in class ConfigurationManagerpublic void addUserInfoReaders(org.w3c.dom.Element configDocElem)
<UserInfoReader
class="[fully qualified class name of IUserInforReader implementation]" >
<!-- UserInfoReader configuration properties -->
</UserInfoReader>
public void processSourceElement(org.w3c.dom.Element elem)
public IQueryProcessor getQueryProcessor(java.lang.String sourceType)
getQueryProcessor in class ConfigurationManagersourceType - Identifies the processor to be used for a particular type of search.public ISecurityManager getSecurityManager()
getSecurityManager in class ConfigurationManagerpublic ISearchFieldMapFactory getSearchFieldMapFactory()
getSearchFieldMapFactory in class ConfigurationManagerpublic ISourceMapFactory getSourceMapFactory()
getSourceMapFactory in class ConfigurationManagerprotected XMLSearchFieldMapFactory getXMLSearchFieldMapFactory()
protected org.w3c.dom.Document getConfigDoc()
public void addConfigurableFactoryLink(java.lang.String objectType,
java.lang.String objectName,
java.lang.String factoryObject)
protected java.lang.Object returnConfiguredObject(java.lang.String type,
java.lang.String name,
java.lang.Object sysObject)
returnConfiguredObject in class ConfigurationManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||