Overview Package Class Tree Deprecated Index Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

javax.servlet
Class ServletContextEvent

java.lang.Object
 extended by java.util.EventObject
 extended by javax.servlet.ServletContextEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ServletContextAttributeEvent

public class ServletContextEvent
extends java.util.EventObject

This is the event class for notifications about changes to the servlet context of a web application.

Since:
Servlet 2.3
See Also:
ServletContextListener, Serialized Form

Field Summary
Fields inherited from class java.util.EventObject
source
Constructor Summary
ServletContextEvent(ServletContext source)
Construct a ServletContextEvent from the given context.
Method Summary
ServletContext getServletContext()
Return the ServletContext that changed.
Methods inherited from class java.util.EventObject
getSource, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

ServletContextEvent

public ServletContextEvent(ServletContext source)
Construct a ServletContextEvent from the given context.

Parameters:
source - - the ServletContext that is sending the event.
Method Detail

getServletContext

public ServletContext getServletContext()
Return the ServletContext that changed.

Returns:
the ServletContext that sent the event.

Overview Package Class Tree Deprecated Index Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41

Scripting on this page tracks web page traffic, but does not change the content in any way.

AltStyle によって変換されたページ (->オリジナル) /