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
|
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
Copyright © 2008-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.