|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hippoecm.hst.core.container.HstComponentRegistryImpl
public class HstComponentRegistryImpl
HstComponentRegistryImpl
Field Summary | |
---|---|
protected Map<HstContainerConfig,Map<String,org.hippoecm.hst.core.container.HstComponentRegistryImpl.HstComponentHolder>> |
servletConfigComponentsMap
|
Constructor Summary | |
---|---|
HstComponentRegistryImpl()
|
Method Summary | |
---|---|
HstComponent |
getComponent(HstContainerConfig requestContainerConfig,
String componentId)
Returns the registered HstComponent. |
protected Map<String,org.hippoecm.hst.core.container.HstComponentRegistryImpl.HstComponentHolder> |
getServletConfigComponentsMap(HstContainerConfig requestContainerConfig,
boolean create)
|
void |
registerComponent(HstContainerConfig requestContainerConfig,
String componentId,
HstComponent component)
Registers the HstComponent. |
void |
unregisterAllComponents()
Unregisters all the HstComponents. |
void |
unregisterComponent(HstContainerConfig requestContainerConfig,
String componentId)
Unregister the HstComponent. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Map<HstContainerConfig,Map<String,org.hippoecm.hst.core.container.HstComponentRegistryImpl.HstComponentHolder>> servletConfigComponentsMap
Constructor Detail |
---|
public HstComponentRegistryImpl()
Method Detail |
---|
public HstComponent getComponent(HstContainerConfig requestContainerConfig, String componentId)
HstComponentRegistry
If the component is not found, then it will return null.
getComponent
in interface HstComponentRegistry
requestContainerConfig
- the container configurationcomponentId
- the component ID
public void registerComponent(HstContainerConfig requestContainerConfig, String componentId, HstComponent component)
HstComponentRegistry
registerComponent
in interface HstComponentRegistry
requestContainerConfig
- the container configurationcomponentId
- the component IDpublic void unregisterComponent(HstContainerConfig requestContainerConfig, String componentId)
HstComponentRegistry
unregisterComponent
in interface HstComponentRegistry
requestContainerConfig
- the container configurationcomponentId
- the component IDpublic void unregisterAllComponents()
HstComponentRegistry
unregisterAllComponents
in interface HstComponentRegistry
protected Map<String,org.hippoecm.hst.core.container.HstComponentRegistryImpl.HstComponentHolder> getServletConfigComponentsMap(HstContainerConfig requestContainerConfig, boolean create)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |