|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.searchApp.ConfigurableObjectFactory
com.raritantechnologies.searchApp.FileSystemConfigurableObjectFactory
Provides a Configurable Object Factory given a set of Configuration XML files on a fileshare.
XML Configuration Template
<SystemObject type="ConfigurableObjectFactory" name="[ object factory name ]"
configurableClass="com.raritantechnologies.searchApp.FileSystemConfigurableObjectFactory"
fileDirectory="[ path to directory with configuration files ]" />
| Constructor Summary | |
FileSystemConfigurableObjectFactory()
|
|
| Method Summary | |
IConfigurable |
getConfiguredObject(java.lang.String objectName)
Returns an instantiated IConfigurable object or null if the configuration DOM Element has not been initialized - does not support multiple objects. |
java.util.Iterator |
getConfiguredObjectNames()
Returns a list of the configured objects that are available. |
boolean |
hasConfiguredObject(java.lang.String objectName)
Does this ConfigurableFactory support multiple Configurable Objects? |
void |
initialize(org.w3c.dom.Element elem)
Method called to initialize multiple object mappings. |
boolean |
isInitialized()
|
| Methods inherited from class com.raritantechnologies.searchApp.ConfigurableObjectFactory |
getConfigurableChild, getConfigurableChildren, getConfiguredObject, getConfiguredObject, getConfiguredObject, getInitializer, getInitializer, setConfigElement |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileSystemConfigurableObjectFactory()
| Method Detail |
public IConfigurable getConfiguredObject(java.lang.String objectName)
ConfigurableObjectFactory
getConfiguredObject in interface IConfigurableFactorygetConfiguredObject in class ConfigurableObjectFactorypublic boolean hasConfiguredObject(java.lang.String objectName)
IConfigurableFactory
hasConfiguredObject in interface IConfigurableFactoryhasConfiguredObject in class ConfigurableObjectFactorypublic java.util.Iterator getConfiguredObjectNames()
IConfigurableFactory
getConfiguredObjectNames in interface IConfigurableFactorygetConfiguredObjectNames in class ConfigurableObjectFactorypublic void initialize(org.w3c.dom.Element elem)
initialize in interface IConfigurableFactoryinitialize in class ConfigurableObjectFactorypublic boolean isInitialized()
isInitialized in interface IConfigurableFactoryisInitialized in class ConfigurableObjectFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||