|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xindice.server.standard.StdComponentManager
StdComponentManager
Constructor Summary | |
StdComponentManager()
|
Method Summary | |
boolean |
addComponent(ScriptComponent component)
addComponent adds a ScriptComponent to the ComponentManager using the name returned by the ScriptComponent. |
boolean |
addComponent(ScriptComponent component,
java.lang.String name)
addComponent adds a ScriptComponent to the ComponentManager by name. |
void |
dispose()
dispose disposes of the object instance. |
ScriptComponent |
getComponent(java.lang.String name)
getComponent returns a component of the specified name. |
Configuration |
getConfig()
getConfig retrieves the configuration information for the Configurable object instance. |
ScriptFilter[] |
getFilters(Versioning versioning)
getFilters returns a set of ScriptFilters for the specified Versioning object. |
boolean |
removeComponent(java.lang.String name)
removeComponent removes a ScriptComponent from the ComponentManager. |
void |
setConfig(Configuration config)
setConfig sets the configuration information for the Configurable object instance. |
void |
setKernel(Kernel kernel)
setKernel provides a Kernel callback interface to the implementing object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StdComponentManager()
Method Detail |
public void setKernel(Kernel kernel)
KernelAccess
setKernel
in interface KernelAccess
org.apache.xindice.server.KernelAccess
kernel
- the Kernel referencepublic void setConfig(Configuration config)
Configurable
setConfig
in interface Configurable
org.apache.xindice.util.Configurable
config
- The configuration Nodepublic Configuration getConfig()
Configurable
getConfig
in interface Configurable
org.apache.xindice.util.Configurable
public boolean addComponent(ScriptComponent component, java.lang.String name)
ComponentManager
addComponent
in interface ComponentManager
org.apache.xindice.server.ComponentManager
component
- The ScriptComponentname
- The name to store the ScriptComponent aspublic boolean addComponent(ScriptComponent component)
ComponentManager
addComponent
in interface ComponentManager
org.apache.xindice.server.ComponentManager
component
- The ScriptComponentpublic ScriptComponent getComponent(java.lang.String name)
ComponentManager
getComponent
in interface ComponentManager
org.apache.xindice.server.ComponentManager
name
- The name of the ScriptComponentpublic ScriptFilter[] getFilters(Versioning versioning)
ComponentManager
getFilters
in interface ComponentManager
org.apache.xindice.server.ComponentManager
version
- The versioning objectpublic boolean removeComponent(java.lang.String name)
ComponentManager
removeComponent
in interface ComponentManager
org.apache.xindice.server.ComponentManager
name
- The name of the ScriptComponentpublic void dispose()
Disposable
dispose
in interface Disposable
|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |