This enumeration allows to set the lifecycle scope associated to application objects (such as a Bean).
Enumeration Items | |
PageContext |
Associates the lifecycle to the page context. |
Request |
Associates the lifecycle to the Request.An object with an Request scope is destroyed as soon as the request terminates. |
Session |
Associates the lifecycle to the Session.An object with a Session scope is destroyed when the user session terminates (logout or timeout). |
Application |
Associates the lifecycle to the Application.An object with an Application scope is never destroyed, and is shared accross all user sessions. |