您的位置:首页 > 运维架构 > Tomcat

Tomcat启动时自动加载Servlet(续)

2012-05-11 09:50 357 查看
public class DeleteItemInterceptor {

[MessageInterceptor(type="com.bookstore.events.ShoppingCartDeleteEvent")]
public function interceptDeleteEvent (processor:MessageProcessor) : void {
var listener:Function = function (event:CloseEvent) : void {
if (event.detail == Alert.OK) {
processor.proceed();
}
};
Alert.show("Do you really want to delete this item?", "Warning",
Alert.OK | Alert.CANCEL, null, listener);
}

}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: