All Packages Class Hierarchy This Package Previous Next Index
Class oracle.jsp.event.JspScopeEvent
oracle.jsp.event.JspScopeEvent
- public class JspScopeEvent
The JSP "out of scope" event.
-
JspScopeEvent(ServletContext, Object, String, int)
-
-
getApplication()
- Returns the JSP application (ServletContext) that this object is running
in.
-
getContainer()
- Returns the JSP object that manages this scope.
-
getName()
- Returns the attribute name that the object being notified is
registered with.
-
getScope()
- Returns the JSP scope that is ending.
JspScopeEvent
public JspScopeEvent(ServletContext sc,
Object container,
String name,
int scope)
getContainer
public Object getContainer()
- Returns the JSP object that manages this scope. This is either the
application, session, request, or page
object on which your object is attached.
getName
public String getName()
- Returns the attribute name that the object being notified is
registered with. If the
JspScopeListener
is not implemented by
the object the notification pertains to, the listener calls the container's
getAttribute
method to acquire the object.
getScope
public int getScope()
- Returns the JSP scope that is ending. The scope is represented by the four
javax.servlet.jsp.PageContext
constants
PAGE_SCOPE
, REQUEST_SCOPE
,
SESSION_SCOPE
, and APPLICATION_SCOPE
.
getApplication
public ServletContext getApplication()
- Returns the JSP application (ServletContext) that this object is running
in. The application is provided so clients can log necessary information.
All Packages Class Hierarchy This Package Previous Next Index