javax.servlet
Class ServletContextEvent
java.lang.Object
java.util.EventObject
javax.servlet.ServletContextEvent
- Direct Known Subclasses:
- ServletContextAttributeEvent
@TransactionType(value=NOT_SUPPORTED)
public class ServletContextEvent
- extends EventObject
This is the event class for notifications about changes to the servlet
context of a web application.
- Since:
- Servlet 2.3, Java Card 3.0
- See Also:
ServletContextListener
ServletContextEvent
public ServletContextEvent(ServletContext source)
- Construct a ServletContextEvent from the given context.
- Parameters:
source
- -
the ServletContext that is sending the event.
getServletContext
public ServletContext getServletContext()
- Return the ServletContext that changed.
- Returns:
- the ServletContext that sent the event.
Copyright (c) 2009 Sun Microsystems, Inc. All rights reserved.