i_subscriptionlistener.java

来自「java开源的企业总线.xmlBlaster」· Java 代码 · 共 43 行

JAVA
43
字号
/*------------------------------------------------------------------------------Name:      SubscriptionListener.javaProject:   xmlBlaster.orgCopyright: xmlBlaster.org, see xmlBlaster-LICENSE fileComment:   Listens on subscriptionRemove and subscriptionAdded eventsVersion:   $Id: I_SubscriptionListener.java 13231 2005-02-13 16:36:13Z laghi $Author:    xmlBlaster@marcelruff.info------------------------------------------------------------------------------*/package org.xmlBlaster.engine;/** * Listens on subscriptionRemove and subscriptionAdded events. * <p> * The events are fired by the Authenticate object. * * @version $Id: I_SubscriptionListener.java 13231 2005-02-13 16:36:13Z laghi $ * @author Marcel Ruff */public interface I_SubscriptionListener extends java.util.EventListener {   /* The priority by which it will be invoked. Lower numbers are invoked first on subscribe and last on unsubscribe */   public final static Integer PRIO_01 = new Integer(1);   public final static Integer PRIO_05 = new Integer(5);   public final static Integer PRIO_10 = new Integer(10);      /**    * The priority by which it will be invoked. Lower numbers are invoked first on subscribe and last on unsubscribe.    * @return    */   public Integer getPriority();      /**    * Invoked on successful subscription login    */   public void subscriptionAdd(SubscriptionEvent e) throws org.xmlBlaster.util.XmlBlasterException;   /**    * Invoked when subscription does a logout    */   public void subscriptionRemove(SubscriptionEvent e) throws org.xmlBlaster.util.XmlBlasterException;}

⌨️ 快捷键说明

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