public interface RegistryService
| 限定符和类型 | 方法和说明 |
|---|---|
void |
available(URL url)
set service status to available, so clients could use it
|
Collection<URL> |
getRegisteredServiceUrls() |
void |
register(URL url)
register service to registry
|
void |
unavailable(URL url)
set service status to unavailable, client should not discover services of unavailable state
|
void |
unregister(URL url)
unregister service to registry
|
void register(URL url)
url - void unregister(URL url)
url - void available(URL url)
url - service url to be available, null means all servicesvoid unavailable(URL url)
url - service url to be unavailable, null means all servicesCollection<URL> getRegisteredServiceUrls()
Copyright © 2017. All rights reserved.