public class NacosAppContextLoader extends Object implements AppContextLoader
| 限定符和类型 | 字段和说明 |
|---|---|
private AtomicReference<AppContext> |
appContextRef |
private NacosAppInstance |
nacosAppInstance |
| 构造器和说明 |
|---|
NacosAppContextLoader(NacosAppInstance nacosAppInstance) |
| 限定符和类型 | 方法和说明 |
|---|---|
AppContext |
appContext() |
boolean |
isActive(org.springframework.context.ApplicationContext applicationContext) |
AppContext |
load(org.springframework.context.ApplicationContext applicationContext) |
int |
priority() |
private final AtomicReference<AppContext> appContextRef
private final NacosAppInstance nacosAppInstance
public NacosAppContextLoader(NacosAppInstance nacosAppInstance)
public AppContext load(org.springframework.context.ApplicationContext applicationContext)
load 在接口中 AppContextLoaderpublic boolean isActive(org.springframework.context.ApplicationContext applicationContext)
isActive 在接口中 AppContextLoaderpublic int priority()
priority 在接口中 AppContextLoaderpublic AppContext appContext()
appContext 在接口中 AppContextLoaderCopyright © 2021 Zodiac. All rights reserved.