Specifies that a bean is portlet lifecycle scoped.
The portlet lifecycle scope is active during:
- the Portlet.processAction() method,
- the EventPortlet.processEvent() method,
- the Portlet.render() method or
- the ResourceServingPortlet.serveResource() method
of any portlet request.
The portlet lifecycle scope is also active during:
- the ActionFilter.doFilter() method,
- the EventFilter.doFilter() method,
- the RenderFilter.doFilter() method, and
- the ResourceFilter.doFilter() method.
of any portlet filter.
The portlet lifecycle scope is destroyed at the end of the portlet request, after any:
- Portlet.processAction() method,
- EventPortlet.processEvent() method,
- Portlet.render() method or
- ResourceServingPortlet.serveResource() method.
and after all:
- ActionFilter.doFilter() methods,
- EventFilter.doFilter() methods,
- RenderFilter.doFilter() methods, and
- ResourceFilter.doFilter() methods.
There are two method call sequences in which the portlet lifecycle scope is active:
- during ActionRequest -> EventRequest -> RenderRequest,
along with their associated doFilter() methods, and
- during ResourceRequest, along with its associated doFilter() method.