📄 userinfooperanotificationlistener.java
字号:
package test;
import javax.management.Notification;
import javax.management.NotificationListener;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
*
* @author worldheart
*
*/
public class UserInfoOperaNotificationListener
implements NotificationListener {
protected static final Log log = LogFactory.getLog(UserInfoOperaNotificationListener.class);
public void handleNotification(Notification notification, Object handback) {
log.info(notification.getUserData());
log.info(notification);
log.info(handback);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -