ELContextEvent (Java EE 5)

Java EE API


javax.el Class ELContextEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.el.ELContextEvent
All Implemented Interfaces:
Serializable

public class ELContextEvent
extends EventObject

Extends: java.util.EventObject

指示已经创建了一个 ELContext 的事件。源对象是创建的 ELContext。
英文文档:

An event which indicates that an ELContext has been created. The source object is the ELContext that was created.

Since:
JSP 2.1
See Also:
ELContext, ELContextListener, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
 
Constructor Summary
 
Method Summary
 ELContext
 
Methods inherited from class java.util.EventObject
 
Methods inherited from class java.lang.Object
 

Constructor Detail

public ELContextEvent(ELContext source)
构造一个 ELContextEvent 对象,以指示已经创建了一个 ELContext
source 创建的 ELContext
英文文档:

ELContextEvent

public ELContextEvent(ELContext source)
Constructs an ELContextEvent object to indicate that an ELContext has been created.

Parameters:
source - the ELContext that was created.

Method Detail

public ELContext getELContext()
返回创建的 ELContext。这是等效于 #getSource 方法的类型安全的方法。
return 创建的 ELContext。
英文文档:

getELContext

public ELContext getELContext()
Returns the ELContext that was created. This is a type-safe equivalent of the EventObject.getSource() method.

Returns:
the ELContext that was created.


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!