public abstract class AbstractRsfContext extends Object implements RsfContext, ContextStartListener, ContextShutdownListener
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.slf4j.Logger |
logger |
| 构造器和说明 |
|---|
AbstractRsfContext(RsfEnvironment rsfEnvironment) |
public AbstractRsfContext(RsfEnvironment rsfEnvironment)
public void doStart(AppContext appContext)
doStart 在接口中 ContextStartListenerpublic void doStartCompleted(AppContext appContext)
doStartCompleted 在接口中 ContextStartListenerpublic void doShutdown(AppContext appContext)
doShutdown 在接口中 ContextShutdownListenerpublic void doShutdownCompleted(AppContext appContext)
doShutdownCompleted 在接口中 ContextShutdownListenerpublic void online()
online 在接口中 RsfContextpublic void offline()
offline 在接口中 RsfContextpublic boolean isOnline()
OnlineStatusisOnline 在接口中 OnlineStatuspublic String getInstanceID()
RsfContextgetInstanceID 在接口中 RsfContextpublic AppContext getAppContext()
RsfContextgetAppContext 在接口中 RsfContextpublic Set<String> runProtocols()
runProtocols 在接口中 RsfContextpublic String getDefaultProtocol()
RsfContextgetDefaultProtocol 在接口中 RsfContextpublic RsfEnvironment getEnvironment()
RsfContextgetEnvironment 在接口中 RsfContextpublic RsfSettings getSettings()
RsfContextgetSettings 在接口中 RsfContextpublic RsfUpdater getUpdater()
RsfContextgetUpdater 在接口中 RsfContextpublic ClassLoader getClassLoader()
RsfContextgetClassLoader 在接口中 RsfContextpublic InterAddress bindAddress(String protocol)
RsfContextbindAddress 在接口中 RsfContextpublic RsfClient getRsfClient()
getRsfClient 在接口中 RsfContextpublic RsfClient getRsfClient(String targetStr) throws URISyntaxException, UnknownHostException
getRsfClient 在接口中 RsfContextURISyntaxExceptionUnknownHostExceptionpublic RsfClient getRsfClient(URI targetURL) throws UnknownHostException
getRsfClient 在接口中 RsfContextUnknownHostExceptionpublic RsfClient getRsfClient(InterAddress target)
getRsfClient 在接口中 RsfContextpublic <T> RsfBindInfo<T> getServiceInfo(String serviceID)
RsfContextgetServiceInfo 在接口中 RsfContextpublic <T> RsfBindInfo<T> getServiceInfo(String aliasType, String aliasName)
RsfContextgetServiceInfo 在接口中 RsfContextpublic <T> RsfBindInfo<T> getServiceInfo(Class<T> serviceType)
RsfContextgetServiceInfo 在接口中 RsfContextpublic <T> RsfBindInfo<T> getServiceInfo(String group, String name, String version)
RsfContextgetServiceInfo 在接口中 RsfContextpublic List<String> getServiceIDs()
RsfContextgetServiceIDs 在接口中 RsfContextpublic List<String> getServiceIDs(String aliasType)
RsfContextgetServiceIDs 在接口中 RsfContextpublic <T> Supplier<T> getServiceProvider(RsfBindInfo<T> bindInfo)
RsfContextgetServiceProvider 在接口中 RsfContextbindInfo - 元信息所描述对象public RsfPublisher publisher()
RsfContextRsfPublisher。publisher 在接口中 RsfContextCopyright © 2020–2021. All rights reserved.