public interface HstComponentFactory
Modifier and Type | Method and Description |
---|---|
HstComponent |
getComponentInstance(HstContainerConfig requestContainerConfig,
HstComponentConfiguration compConfig,
Mount mount)
Returns the HstComponent instance from the HstComponent context.
|
HstComponentMetadata |
getComponentMetadata(HstContainerConfig requestContainerConfig,
HstComponentConfiguration compConfig,
Mount mount)
Returns the metadata of the HstComponent from the HstComponent context.
|
String |
getDefaultHstComponentClassName()
Returns the default HST Component class name
|
<T> T |
getObjectInstance(HstContainerConfig requestContainerConfig,
String className)
Returns arbitrary object instance from the HstComponent context.
|
HstComponent getComponentInstance(HstContainerConfig requestContainerConfig, HstComponentConfiguration compConfig, Mount mount) throws HstComponentException
requestContainerConfig
- the HstContainer configurationcompConfig
- the HstComponent configurationmount
- the Mount to create the component instance forHstComponentException
HstComponentMetadata getComponentMetadata(HstContainerConfig requestContainerConfig, HstComponentConfiguration compConfig, Mount mount) throws HstComponentException
requestContainerConfig
- the HstContainer configurationcompConfig
- the HstComponent configurationmount
- the Mount to create the component instance forHstComponentException
<T> T getObjectInstance(HstContainerConfig requestContainerConfig, String className) throws HstComponentException
T
- requestContainerConfig
- className
- HstComponentException
String getDefaultHstComponentClassName()
Copyright © 2008–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.