|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortletFilter
The PortletFilter
is the base interface for all portlet filters.
It provides the lifecycle methods init
and destroy
for putting a portlet filter into and out of service.
Method Summary | |
---|---|
void |
destroy()
Called by the portlet container to indicate to a filter that it is being taken out of service. |
void |
init(FilterConfig filterConfig)
Called by the portlet container to indicate to a filter that it is being placed into service. |
Method Detail |
---|
void init(FilterConfig filterConfig) throws PortletException
The portlet container cannot place the filter into service if the init method either
filterConfig
- the filter configuration data defined
in the portlet deployment descriptor
PortletException
- if an error occurs in the filter initializationvoid destroy()
doFilter
method have exited or
after a timeout period has passed.
After the portlet container calls this method, it will not call the
doFilter
method again on this instance of the filter.
This method gives the filter an opportunity to clean up any resources that are being held (for example, memory, file handles, threads) and make sure that any persistent state is synchronized with the filter's current state in memory.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |