Different context objects in ADF
Context Object Name
|
Who is creating it
|
Life Cycle phase
|
Scope
|
Comments
|
FacesContext
|
Faces Servlets
|
At beginning of each request processing
|
Per Request
|
Created by Faces Servlets and contains all the per request
state information.This static class provides the request context information for the
application instance and grants developers access to application-wide settings, messages
to be displayed to the end user, lifecycle methods, and the displayed view root.
|
ExternalContext
|
|
|
|
such as the servlet context, cookie maps, the remote user, the request locale, page
redirect, and much more. If developers don’t find what they are looking for within
the set of methods exposed on the ExternalContext, they can use a call to
getResponse or to getRequest to return instances of HttpServletResponse
and HttpServletRequest objects. The ExternalContext object is accessible
from FacesContext.
|
ADFContext
|
|
|
|
|
BindingContext
|
|
At the beginning of the first request
|
|
|
SecurityContext
|
|
|
|
|
ControllerContext
|
|
|
|
|
Application
|
|
|
|
|
No comments:
Post a Comment