javax.servlet.ServletContextAttributeListener翻译

王朝java/jsp·作者佚名  2006-01-09
窄屏简体版  字體: |||超大  

[/url] [url=file:///F:/资料/文字资料/j2ee-1.4_doc/apidocs/overview-summary.html]Overview

Package

Class

Tree

Deprecated

Index

Help

JavaTM 2 Platform

Ent. Ed. v1.4

PREV CLASS NEXT CLASS

FRAMES NO FRAMES All Classes

SUMMARY: NESTED | FIELD | CONSTR | METHOD

DETAIL: FIELD | CONSTR | METHOD

javax.servlet

Interface ServletContextAttributeListenerAll Superinterfaces: EventListener public interface ServletContextAttributeListener extends EventListenerImplementations of this interface recieve notifications of changes to the attribute list on the servlet context of a web application. To recieve notification events, the implementation class must be configured in the deployment descriptor for the web application. 实现该接口会接收到web应用程序的servlet上下文中列出的属性改变的通知。 为了接收到通知事件,实现类必须为web应用程序配置部署描述符。

Since: v 2.3 See Also: ServletContextAttributeEventMethod Summary

void

attributeAdded(ServletContextAttributeEvent scab)

Notification that a new attribute was added to the servlet context. 通知有新的属性被加入servlet上下文。

void

attributeRemoved(ServletContextAttributeEvent scab)

Notification that an existing attribute has been removed from the servlet context. 通知有存在的属性被删除出servlet上下文。

void

attributeReplaced(ServletContextAttributeEvent scab)

Notification that an attribute on the servlet context has been replaced. 通知有servlet上下文中的属性被替换。

Method Detail

attributeAddedpublic void attributeAdded(ServletContextAttributeEvent scab)

Notification that a new attribute was added to the servlet context. Called after the attribute is added. 通知有新的属性被加入servlet上下文。在属性被增加后调用。

attributeRemovedpublic void attributeRemoved(ServletContextAttributeEvent scab)

Notification that an existing attribute has been removed from the servlet context. Called after the attribute is removed. 通知有存在的属性被删除出servlet上下文。在属性被删除后调用。

attributeReplacedpublic void attributeReplaced(ServletContextAttributeEvent scab)

Notification that an attribute on the servlet context has been replaced. Called after the attribute is replaced. 通知有servlet上下文中的属性被替换。在属性被替换后调用。

[/url][url=file:///F:/资料/文字资料/j2ee-1.4_doc/apidocs/overview-summary.html]Overview

Package

Class

Tree

Deprecated

Index

Help

JavaTM 2 Platform

Ent. Ed. v1.4

PREV CLASS NEXT CLASS

FRAMES NO FRAMES All Classes

SUMMARY: NESTED | FIELD | CONSTR | METHOD

DETAIL: FIELD | CONSTR | METHOD

Submit a bug or feature Copyright 2003 Sun Microsystems, Inc. All rights reserved.

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有  導航