public interface HstParameterInfoProxyFactory
ParametersInfo
annotation.
The ParametersInfo
annotation is used to annotate HstComponent
classes. The interface referred to by the ParametersInfo
annotation
is returned as proxy by the #createParameterInfoProxy(ParametersInfo, ComponentConfiguration, HstRequest)
method. The getters in the interface that are
annotated with the Parameter
annotation are delegated through the proxy to the backing ComponentConfiguration
Modifier and Type | Method and Description |
---|---|
<T> T |
createParameterInfoProxy(ParametersInfo parametersInfo,
ComponentConfiguration componentConfig,
HstRequest request,
HstParameterValueConverter converter)
Returns a proxy instance of the interface T.
|
<T> T createParameterInfoProxy(ParametersInfo parametersInfo, ComponentConfiguration componentConfig, HstRequest request, HstParameterValueConverter converter)
Parameter
annotated getters in the interface T to the backing ComponentConfiguration
parameters,
thus to ComponentConfiguration.getParameter(String, org.hippoecm.hst.core.request.ResolvedSiteMapItem)
T
- proxy instance of the interface TparametersInfo
- the ParametersInfo annotation of the HstComponent
componentConfig
- the backing ComponentConfiguration
of the HstComponent
request
- the HstRequest
converter
- the HstParameterValueConverter that does the actual conversionCopyright © 2008-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.