public interface HstComponent
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Allows the component to destroy itself
|
void |
doAction(HstRequest request,
HstResponse response)
Allows the component to process actions
|
void |
doBeforeRender(HstRequest request,
HstResponse response)
Allows the component to do some business logic processing before rendering
|
void |
doBeforeServeResource(HstRequest request,
HstResponse response)
Allows the component to do some business logic processing before serving resource
|
default ComponentConfiguration |
getComponentConfiguration()
Returns the ComponentConfiguration for this component or
null
if not implemented by a subclass |
void |
init(javax.servlet.ServletContext servletContext,
ComponentConfiguration componentConfig)
Allows the component to initialize itself
|
void init(javax.servlet.ServletContext servletContext, ComponentConfiguration componentConfig) throws HstComponentException
servletContext
- the servletConfig of the HST container servletcomponentConfig
- the componentConfigBean configurationHstComponentException
void doBeforeRender(HstRequest request, HstResponse response) throws HstComponentException
request
- response
- HstComponentException
void doAction(HstRequest request, HstResponse response) throws HstComponentException
request
- response
- HstComponentException
void doBeforeServeResource(HstRequest request, HstResponse response) throws HstComponentException
request
- response
- HstComponentException
void destroy() throws HstComponentException
HstComponentException
default ComponentConfiguration getComponentConfiguration()
null
if not implemented by a subclassCopyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.