public class GlueServiceLoader extends Object implements GlueCacheLoader, org.springframework.beans.factory.InitializingBean
Bean Property - rootPath : (Çʼö) default´Â 'service' - extraServiceFiles : (¼±ÅÃ) ¿¹Á¦»ç¿ë ¿¹# 1 »ç¿ë ¿¹# 2 »ç¿ë ¿¹# 3
extra/security-serivce.xml
Constructor and Description |
---|
GlueServiceLoader()
»ý¼ºÀÚ(constructor).
|
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
String |
getRootPath()
getter method.
|
Object |
loadCacheObject(Object cacheKey,
String regionName)
ÁÖ¾îÁø ij½¬ ¿µ¿ª¸í¿¡ ÇØ´çÇϴ ij½¬¿µ¿ª¿¡¼ ij½¬ Å°¸¦ »ç¿ëÇÏ¿© ¿ÀºêÁ§Æ®¸¦ ·ÎµùÇÔ
|
void |
setExtraServiceFiles(List<String> extraServiceFiles)
setter method for DI.
|
void |
setRootPath(String serviceRootPath)
setter method for DI.
|
public String getRootPath()
public void setRootPath(String serviceRootPath)
serviceRootPath
- 2°¡Áö typeÀÌ °¡´ÉÇϸç, °æ·Î¿Í property nameÀÓ Ã¹¹ø°´Â °æ·ÎÀÏ °æ¿ì·Î »ó´ë°æ·ÎÀ̸ç, µð·ºÅ丮 ±¸ºÐÀº ½½·¡½Ã(/)³ª ¿ª½½·¡½Ã (\)·Î ÇؾßÇÔ. µÎ¹ø°´Â property nameÀÏ °æ¿ì·Î glue.properties¿¡ µé¾î°¡´Â key¸¦ »ç¿ëÇÔ. serviceRootPath it depends on Thread.currentThread().getContextClassLoader()
public void setExtraServiceFiles(List<String> extraServiceFiles)
public Object loadCacheObject(Object cacheKey, String regionName) throws GlueException
GlueCacheLoader
loadCacheObject
in interface GlueCacheLoader
cacheKey
- ij½¬ Å°regionName
- ij½¬ ¿µ¿ª¸íGlueException
- - ij½¬°ü·Ã ¿¡·¯¹ß»ý ½ÃCopyright © 2013–2020 POSCO ICT. All rights reserved.