public interface CloudEventServiceManager extends CloudEventService
| 限定符和类型 | 方法和说明 |
|---|---|
CloudEventServicePlus |
get(java.lang.String channel)
获取事件服务
|
CloudEventInterceptor |
getEventInterceptor()
获取事件拦截器
|
CloudEventServicePlus |
getOrThrow(java.lang.String channel)
获取事件服务,如果没有则异常
|
void |
register(CloudEventServicePlus service)
注册事件服务
|
attention, newTran, newTranAndJoin, publishCloudEventInterceptor getEventInterceptor()
void register(CloudEventServicePlus service)
service - 事件服务CloudEventServicePlus get(java.lang.String channel)
channel - 通道CloudEventServicePlus getOrThrow(java.lang.String channel)
channel - 通道