@Target(value={TYPE,METHOD,FIELD}) @Retention(value=RUNTIME) @Documented @NormalScope(passivating=true) @Inherited public @interface PortletRedisplayScoped
Specifies that a bean is portlet redisplay scoped.
The portlet redisplay scope is active during:
The portlet redisplay scope is also active during:
The portlet redisplay scope is destroyed:
During a call to ResourceServingPortlet.serveResource() a separate context will be activated for the duration of the method execution, and any ResourceFilter.doFilter() methods defined. When the context is destroyed, once ResourceServingPortlet.serveResource() and all ResourceFilter.doFilter() methods are complete, any beans present in the context that are not present in the existing portlet redisplay context will be added. This ensures that state created as part of ResourceServingPortlet.serveResource() is available to subsequent Portlet.render() calls.
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.