@Singleton public class DefaultEurekaServerContext extends java.lang.Object implements EurekaServerContext
| Constructor and Description |
|---|
DefaultEurekaServerContext(EurekaServerConfig serverConfig,
ServerCodecs serverCodecs,
PeerAwareInstanceRegistry registry,
PeerEurekaNodes peerEurekaNodes,
com.netflix.appinfo.ApplicationInfoManager applicationInfoManager) |
| Modifier and Type | Method and Description |
|---|---|
com.netflix.appinfo.ApplicationInfoManager |
getApplicationInfoManager() |
PeerEurekaNodes |
getPeerEurekaNodes() |
PeerAwareInstanceRegistry |
getRegistry() |
ServerCodecs |
getServerCodecs() |
EurekaServerConfig |
getServerConfig() |
void |
initialize() |
void |
shutdown() |
@Inject public DefaultEurekaServerContext(EurekaServerConfig serverConfig, ServerCodecs serverCodecs, PeerAwareInstanceRegistry registry, PeerEurekaNodes peerEurekaNodes, com.netflix.appinfo.ApplicationInfoManager applicationInfoManager)
@PostConstruct public void initialize()
initialize in interface EurekaServerContext@PreDestroy public void shutdown()
shutdown in interface EurekaServerContextpublic EurekaServerConfig getServerConfig()
getServerConfig in interface EurekaServerContextpublic PeerEurekaNodes getPeerEurekaNodes()
getPeerEurekaNodes in interface EurekaServerContextpublic ServerCodecs getServerCodecs()
getServerCodecs in interface EurekaServerContextpublic PeerAwareInstanceRegistry getRegistry()
getRegistry in interface EurekaServerContextpublic com.netflix.appinfo.ApplicationInfoManager getApplicationInfoManager()
getApplicationInfoManager in interface EurekaServerContext