public interface HstComponentInfo
HstComponentConfiguration
.
Basic information interface for component configuration.
HstComponentConfiguration}
Modifier and Type | Method and Description |
---|---|
String |
getAsyncMode()
Optional mode parameter to determine which technology should used for rendering asynchronous component.
|
String |
getComponentClassName() |
String |
getId()
Returns the id for this component configuration.
|
String |
getName()
Return the name of this component configuration.
|
boolean |
isAsync()
Rendering asynchronous is very useful for hst components that are uncacheable, depend on external services, or take long to render.
|
boolean |
isCompositeCacheable() |
boolean |
isStandalone() |
String getId()
HstComponentsConfiguration
,
or null
if it is not needed to be directly accessed by the
HstComponentsConfiguration
through HstComponentsConfiguration.getComponentConfiguration(String)
.
Every HstComponentConfiguration
that can be referred to from within a
HstSiteMapItem
must have an id.null
if no id setString getName()
HstComponent
instance.String getComponentClassName()
HstComponent
interfaceboolean isStandalone()
true
when this HstComponentConfiguration
is configured to be rendered standalone in case of HstURL.COMPONENT_RENDERING_TYPE
boolean isAsync()
true
when this HstComponentConfiguration
is configured to be rendered asynchronous.String getAsyncMode()
boolean isCompositeCacheable()
true
if rendering / resource requests can have their entire page http responses cached. Note that
a HstComponentConfiguration
by default is cacheable unless configured not to be cacheable. A HstComponentConfiguration
is only cacheable if and only if all its descendant HstComponentConfiguration
s for the request are cacheable : Note
explicitly for 'the request', thus HstComponentConfiguration
that are isAsync()
and its descendants can be uncacheable while an ancestor HstComponentConfiguration
can stay cacheableCopyright © 2008-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.