public interface ServiceInstanceContext
extends me.ahoo.cosky.core.Namespaced
| 限定符和类型 | 接口和说明 |
|---|---|
static class |
ServiceInstanceContext.CurrentContext |
static interface |
ServiceInstanceContext.ServiceInstanceContextChangedListener |
| 限定符和类型 | 字段和说明 |
|---|---|
static ServiceInstanceContext |
CURRENT |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addListener(ServiceInstanceContext.ServiceInstanceContextChangedListener changedListener) |
ServiceInstance |
getServiceInstance() |
void |
removeListener(ServiceInstanceContext.ServiceInstanceContextChangedListener changedListener) |
void |
setServiceInstance(ServiceInstance serviceInstance) |
static final ServiceInstanceContext CURRENT
void setServiceInstance(ServiceInstance serviceInstance)
void addListener(ServiceInstanceContext.ServiceInstanceContextChangedListener changedListener)
void removeListener(ServiceInstanceContext.ServiceInstanceContextChangedListener changedListener)
ServiceInstance getServiceInstance()