@SpiMeta(name="default") public class SimpleConfigHandler extends Object implements ConfigHandler
| Constructor and Description |
|---|
SimpleConfigHandler() |
| Modifier and Type | Method and Description |
|---|---|
<T> ClusterSupport<T> |
buildClusterSupport(Class<T> interfaceClass,
List<URL> registryUrls) |
<T> Exporter<T> |
export(Class<T> interfaceClass,
T ref,
List<URL> registryUrls) |
protected <T> Provider<T> |
getProvider(Protocol protocol,
T proxyImpl,
URL url,
Class<T> clz) |
<T> T |
refer(Class<T> interfaceClass,
List<Cluster<T>> clusters,
String proxyType) |
<T> void |
unexport(List<Exporter<T>> exporters,
Collection<URL> registryUrls) |
public <T> ClusterSupport<T> buildClusterSupport(Class<T> interfaceClass, List<URL> registryUrls)
buildClusterSupport in interface ConfigHandlerpublic <T> T refer(Class<T> interfaceClass, List<Cluster<T>> clusters, String proxyType)
refer in interface ConfigHandlerpublic <T> Exporter<T> export(Class<T> interfaceClass, T ref, List<URL> registryUrls)
export in interface ConfigHandlerprotected <T> Provider<T> getProvider(Protocol protocol, T proxyImpl, URL url, Class<T> clz)
public <T> void unexport(List<Exporter<T>> exporters, Collection<URL> registryUrls)
unexport in interface ConfigHandlerCopyright © 2019. All rights reserved.