propertyeventlistener.java
来自「基于Jabber协议的即时消息服务器」· Java 代码 · 共 59 行
JAVA
59 行
/** * $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 + =
减小字号Ctrl + -
显示快捷键?