public class GlueServiceManagerImpl extends Object implements GlueServiceManager, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Bean Property - cacheManager : (필수) GlueCacheManager 참조 bean id. - serviceLoader : (필수) GlueCacheLoader 참조 bean id - preloading : (선택) true일경우 serviceLoader를 통해 모슨 ServiceName를 가져온다. 예제사용 예# 1 사용 예# 2
Modifier and Type | Field and Description |
---|---|
protected GlueCacheManager |
cacheManager
Service Definition을 관리하는 Cache Manager
|
protected GlueCacheLoader |
serviceLoader
Service Definition을 로딩하는 Cache Loader
|
Constructor and Description |
---|
GlueServiceManagerImpl()
생성자(constructor).
|
GlueServiceManagerImpl(GlueCacheManager manager,
GlueCacheLoader loader)
생성자(constructor).
|
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
GlueService |
getService(String serviceName) |
void |
loadAllService() |
void |
setCacheManager(GlueCacheManager cacheManager)
setter method for DI.
|
void |
setExtraServiceNames(List<String> extraServiceNames)
Deprecated.
|
void |
setPreloading(boolean preloading)
setter method for DI.
|
void |
setServiceLoader(GlueCacheLoader serviceLoader)
setter method for DI.
|
protected GlueCacheManager cacheManager
protected GlueCacheLoader serviceLoader
public GlueServiceManagerImpl()
public GlueServiceManagerImpl(GlueCacheManager manager, GlueCacheLoader loader)
manager
- loader
- public GlueService getService(String serviceName)
getService
in interface GlueServiceManager
public void loadAllService()
loadAllService
in interface GlueServiceManager
public void setCacheManager(GlueCacheManager cacheManager)
cacheManager
- public void setServiceLoader(GlueCacheLoader serviceLoader)
serviceLoader
- public void setPreloading(boolean preloading)
preloading
- public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public void destroy() throws Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
Exception
@Deprecated public void setExtraServiceNames(List<String> extraServiceNames)
Copyright © 2023–2024 POSCO DX. All rights reserved.