⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 propertyeventlistener.java

📁 基于Jabber协议的即时消息服务器
💻 JAVA
字号:
/** * $RCSfile$ * $Revision: 4188 $ * $Date: 2006-06-29 16:48:12 -0700 (Thu, 29 Jun 2006) $ * * Copyright (C) 2004-2005 Jive Software. All rights reserved. * * This software is published under the terms of the GNU Public License (GPL), * a copy of which is included in this distribution. */package org.jivesoftware.util;import java.util.Map;/** * Interface to listen for property events. Use the * {@link org.jivesoftware.util.PropertyEventDispatcher#addListener(PropertyEventListener)} * method to register for events. * * @author Matt Tucker */public interface PropertyEventListener {    /**     * A property was set. The parameter map <tt>params</tt> will contain the     * the value of the property under the key <tt>value</tt>.     *     * @param property the name of the property.     * @param params event parameters.     */    public void propertySet(String property, Map params);    /**     * A property was deleted.     *     * @param property the name of the property deleted.     * @param params event parameters.     */    public void propertyDeleted(String property, Map params);    /**     * An XML property was set. The parameter map <tt>params</tt> will contain the     * the value of the property under the key <tt>value</tt>.      *     * @param property the name of the property.     * @param params event parameters.     */    public void xmlPropertySet(String property, Map params);    /**     * An XML property was deleted.     *     * @param property the name of the property.     * @param params event parameters.     */    public void xmlPropertyDeleted(String property, Map params);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -