|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.poscoict.glueframework.biz.control.GlueServiceLoader
public class GlueServiceLoader

GlueServiceLoader Cache에서 해당 Service객체(GlueService)를 찾고 없으면 Service.xml을 읽어서 Cache에 저장한다.
bean property 설정 - rootPath : (선택) default는 'service' [sample] 사용 예# 1사용 예# 2
| Constructor Summary | |
|---|---|
GlueServiceLoader()
생성자(constructor). |
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
String |
getRootPath()
getter method. |
GlueService |
loadCacheObject(Object serviceName,
String regionName)
주어진 캐쉬 영역명에 해당하는 캐쉬영역에서 캐쉬 키를 사용하여 오브젝트를 로딩함 |
void |
setRootPath(String serviceRootPath)
setter method for DI. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GlueServiceLoader()
| Method Detail |
|---|
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 GlueService loadCacheObject(Object serviceName,
String regionName)
throws GlueException
GlueCacheLoader
loadCacheObject in interface GlueCacheLoaderserviceName - 캐쉬 키regionName - 캐쉬 영역명
GlueException - - 캐쉬관련 에러발생 시
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||