javax.servlet.ServletContextEvent翻译

来源:互联网 发布:ubuntu系统kvm网络配置 编辑:程序博客网 时间:2024/04/30 02:56
 Overview Package  Class Tree Deprecated Index Help JavaTM 2 Platform
Ent. Ed. v1.4
 PREV CLASS   NEXT CLASSFRAMES    NO FRAMES     All Classes SUMMARY: NESTED | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD

javax.servlet
Class ServletContextEvent

java.lang.Object  extended byjava.util.EventObject      extended byjavax.servlet.ServletContextEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ServletContextAttributeEvent

public class ServletContextEvent
extends EventObject

This is the event class for notifications about changes to the servlet context of a web application. 这是一个事件类,用于通知web应用程序中servlet上下文的改变。

Since:
v 2.3
See Also:
ServletContextListener, Serialized Form

Field Summary  Fields inherited from class java.util.EventObjectsource  Constructor SummaryServletContextEvent(ServletContext source)
          Construct a ServletContextEvent from the given context. 从给定的上下文中构建一个ServletContextEvent。
  Method Summary ServletContextgetServletContext()
          Return the ServletContext that changed. 返回已改变的ServletContext。
  Methods inherited from class java.util.EventObjectgetSource, toString  Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait 

Constructor Detail

ServletContextEvent

public ServletContextEvent(ServletContext source)
Construct a ServletContextEvent from the given context. 这是一个事件类,用于通知web应用程序中servlet上下文的改变。

Parameters:
source - - the ServletContext that is sending the event. 发送事件的ServletContext。
Method Detail

getServletContext

public ServletContext getServletContext()
Return the ServletContext that changed. 返回已改变的ServletContext。

Returns:
the ServletContext that sent the event. 发送事件的ServletContext。

Overview Package  Class Tree Deprecated Index Help JavaTM 2 Platform
Ent. Ed. v1.4
 PREV CLASS   NEXT CLASSFRAMES    NO FRAMES     All Classes SUMMARY: NESTED | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD
Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.

原创粉丝点击