类 RegistryFactoryWrapper
- java.lang.Object
-
- org.apache.dubbo.registry.RegistryFactoryWrapper
-
- 所有已实现的接口:
RegistryFactory
public class RegistryFactoryWrapper extends Object implements RegistryFactory
-
-
构造器详细资料
-
RegistryFactoryWrapper
public RegistryFactoryWrapper(RegistryFactory registryFactory)
-
-
方法详细资料
-
getRegistry
public Registry getRegistry(URL url)
从接口复制的说明:RegistryFactoryConnect to the registryConnecting the registry needs to support the contract:
1. When the check=false is set, the connection is not checked, otherwise the exception is thrown when disconnection
2. Support username:password authority authentication on URL.
3. Support the backup=10.20.153.10 candidate registry cluster address.
4. Support file=registry.cache local disk file cache.
5. Support the timeout=1000 request timeout setting.
6. Support session=60000 session timeout or expiration settings.- 指定者:
getRegistry在接口中RegistryFactory- 参数:
url- Registry address, is not allowed to be empty- 返回:
- Registry reference, never return empty value
-
-