public class MuleTccShutdownManage extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addComponents(MuleTccShutdownService shutdownService)
添加组件
如果 order未负数 则添加至 randomComponents,为避免出现相同的order值组件丢失,
使用队列承载,关闭时按照插入队列的顺序关闭
反之添加至 components |
static MuleTccShutdownManage |
getInstance()
获取实例
|
public static MuleTccShutdownManage getInstance()
public void addComponents(MuleTccShutdownService shutdownService)
如果 order未负数 则添加至 randomComponents,为避免出现相同的order值组件丢失,
使用队列承载,关闭时按照插入队列的顺序关闭
反之添加至 components
shutdownService - 组件对象Copyright © 2019. All rights reserved.