public interface HstComponentRegistry
Modifier and Type | Method and Description |
---|---|
HstComponent |
getComponent(HstContainerConfig requestContainerConfig,
String componentId)
Returns the registered HstComponent.
|
HstComponentMetadata |
getComponentMetadata(HstContainerConfig requestContainerConfig,
String componentId)
Returns the metadata of the registered HstComponent.
|
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.
|
void registerComponent(HstContainerConfig requestContainerConfig, String componentId, HstComponent component)
requestContainerConfig
- the container configurationcomponentId
- the component IDcomponent
- void unregisterComponent(HstContainerConfig requestContainerConfig, String componentId)
requestContainerConfig
- the container configurationcomponentId
- the component IDHstComponent getComponent(HstContainerConfig requestContainerConfig, String componentId)
If the component is not found, then it will return null.
requestContainerConfig
- the container configurationcomponentId
- the component IDHstComponentMetadata getComponentMetadata(HstContainerConfig requestContainerConfig, String componentId)
If the component metadata is not found, then it will return null.
requestContainerConfig
- the container configurationcomponentId
- the component IDvoid unregisterAllComponents()
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.