|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.servlet Interface ServletContextAttributeListener
- All Superinterfaces:
- EventListener
public interface ServletContextAttributeListener
- extends EventListener
Implements:
java.util.EventListener
此接口的实现接收 Web 应用程序的 servlet 上下文中的属性列表更改通知。要接收通知事件,必须在 Web 应用程序的部署描述符中配置实现类。
since |
| |
See also | javax.servlet.ServletContextAttributeEvent |
Implementations of this interface receive notifications of changes to the attribute list on the servlet context of a web application. To receive notification events, the implementation class must be configured in the deployment descriptor for the web application.
- Since:
- v 2.3
- See Also:
ServletContextAttributeEvent
Method Summary | |
---|---|
void |
attributeAdded(ServletContextAttributeEvent scab)
Notification that a new attribute was added to the servlet context. |
void |
attributeRemoved(ServletContextAttributeEvent scab)
Notification that an existing attribute has been removed from the servlet context. |
void |
attributeReplaced(ServletContextAttributeEvent scab)
Notification that an attribute on the servlet context has been replaced. |
Method Detail |
---|
public void
attributeAdded(ServletContextAttributeEvent scab)
通知向 servlet 上下文中添加了一个新属性。在添加属性之后调用。
英文文档:
attributeAdded
void attributeAdded(ServletContextAttributeEvent scab)
- Notification that a new attribute was added to the servlet context. Called after the attribute is added.
public void
attributeRemoved(ServletContextAttributeEvent scab)
通知现有属性已从 servlet 上下文中移除。在移除属性之后调用。
英文文档:
attributeRemoved
void attributeRemoved(ServletContextAttributeEvent scab)
- Notification that an existing attribute has been removed from the servlet context. Called after the attribute is removed.
public void
attributeReplaced(ServletContextAttributeEvent scab)
通知已替换 servlet 上下文中的一个属性。在替换属性之后调用。
英文文档:
attributeReplaced
void attributeReplaced(ServletContextAttributeEvent scab)
- Notification that an attribute on the servlet context has been replaced. Called after the attribute is replaced.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!