public interface ServiceCompare<T extends Service>
| Modifier and Type | Method and Description |
|---|---|
int |
compare(ServiceRegistryItem source,
ServiceRegistryItem dest)
比较两个服务的版本
|
int compare(ServiceRegistryItem source, ServiceRegistryItem dest) throws NotComparableServiceException
source - dest - NotComparableServiceException - 当两个服务不可比较时,抛出此异常Copyright © 2006–2018 TinyGroup. All rights reserved.