|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkr.co.hit.live.web.mapper.ActionMap
public class ActionMap
서버 submit에 대한 Map 파일을 파싱한 결과와 최근 파일 변경시간을 가지고 있으며, submit type에 따른 RequestReader와 ResponseWriter 객체를 생성해주는 기능을 제공한다.
| Field Summary | |
|---|---|
static String |
LIVE_CONFIGURATION_WEB_MAPPER_ACTION_KEY_PREFIX
Mapper의 action type에 해당되는 ActionDelegator 클래스 명을 얻기 위하여 사용할 Live 설정파일의 Key의 공통 접두어. |
static String |
LIVE_CONFIGURATION_WEB_MAPPER_READER_KEY_PREFIX
Mapper의 input type에 해당되는 RequestReader 클래스 명을 얻기 위하여 사용할 Live 설정파일의 Key의 공통 접두어. |
static String |
LIVE_CONFIGURATION_WEB_MAPPER_WRITER_KEY_PREFIX
Mapper의 output type에 해당되는 ResponseWriter 클래스 명을 얻기 위하여 사용할 Live 설정파일의 Key의 공통 접두어. |
| Constructor Summary | |
|---|---|
ActionMap(Submit submit,
long mtime,
String path)
|
|
| Method Summary | |
|---|---|
protected static void |
configure()
Live 설정 파일에 LIVE_CONFIGURATION_WEB_MAPPER_WRITER_KEY_PREFIX와 LIVE_CONFIGURATION_WEB_MAPPER_READER_KEY_PREFIX로 시작하는 properties 들을 읽어와 reader 타입별 reader 를래스 명과 writer 타입별 writer 클래스 명을 각가 readerMap과 writerMap에 담아 놓는다. |
ActionDelegator |
getActionDelegator()
submit에 정의된 action을 실행시키기위한 ActionDelegator 객체를 반환한다. |
String |
getFilePath()
이 객체가 생성되었을 때 사용한 Map 파일의 경로를 리턴한다. |
RequestReader |
getRequestReader()
submit의 type에 해당되는 RequestReader 객체를 반환한다. |
ResponseWriter |
getResponseWriter()
submit의 type에 해당되는 ResponseWriter 객체를 반환한다. |
Submit |
getSubmit()
submit 객체를 반환한다. |
long |
lastModified()
이 객체가 생성되었을 때 사용한 Map 파일의 lastModifiedTime을 리턴한다. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String LIVE_CONFIGURATION_WEB_MAPPER_ACTION_KEY_PREFIX
public static final String LIVE_CONFIGURATION_WEB_MAPPER_WRITER_KEY_PREFIX
public static final String LIVE_CONFIGURATION_WEB_MAPPER_READER_KEY_PREFIX
| Constructor Detail |
|---|
public ActionMap(Submit submit,
long mtime,
String path)
| Method Detail |
|---|
protected static void configure()
public long lastModified()
public String getFilePath()
public Submit getSubmit()
public RequestReader getRequestReader()
public ResponseWriter getResponseWriter()
public ActionDelegator getActionDelegator()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||