|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.alibaba.otter.shared.communication.core.CommunicationRegistry
public class CommunicationRegistry
注册中心,针对每个事件允许绑定一个对象处理,类似于webx中的Action事件处理
| 构造方法摘要 | |
|---|---|
CommunicationRegistry()
|
|
| 方法摘要 | |
|---|---|
static Object |
getAction(EventType eventType)
获得事件对应的Action |
static void |
regist(EventType[] eventTypes,
Object action)
注册一组事件处理对象 |
static void |
regist(EventType eventType,
Object action)
注册一个事件对应的处理对象 |
static void |
unregist(EventType eventType)
注册一个事件处理对象 |
static void |
unregist(Object action)
注销调一个Action |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public CommunicationRegistry()
| 方法详细信息 |
|---|
public static void regist(EventType eventType,
Object action)
eventType - action -
public static void regist(EventType[] eventTypes,
Object action)
eventType - action - public static void unregist(EventType eventType)
eventType - public static void unregist(Object action)
action - public static Object getAction(EventType eventType)
eventType -
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||