public class GlueServiceManagerImpl extends Object implements GlueServiceManager, InitializingBean, 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 InitializingBean
Exception
public void destroy() throws Exception
destroy
in interface DisposableBean
Exception
@Deprecated public void setExtraServiceNames(List<String> extraServiceNames)
Copyright © 2013–2016 POSCO ICT. All rights reserved.