|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gauce.gsaf.GauceAction
ActionÀÎÅÍÆäÀ̽º¸¦ ±¸ÇöÇÑ Å¬·¡½ºÀ̸ç action-chain¿¡ µî·ÏÇÒ ¸ðµç ActionÀº ÀÌ Å¬·¡½º¸¦ »ó¼Ó¹Þ¾Æ ÀÛ¼ºÇÑ´Ù. ÀÌ Å¬·¡½º¿¡¼´Â ActionÀÎÅÍÆäÀ̽º¿¡¼ Á¦°øÇÏÁö ¾Ê´Â logging°ú °ü·ÃµÈ À¯ÀÍÇÑ ¸Þ¼Òµå¸¦ Á¦°øÇÏ°í ÀÖ´Ù.
Method Summary | |
void |
destroy()
action-chain¿¡ µî·ÏµÈ ActionµéÀÌ re-loadingµÉ ¶§ ±âÁ¸¿¡ µî·ÏµÇ¾î ÀÖ´ø Actionµé¿¡ ´ëÇØ °¡¿ì½º ¼¹ö°¡ È£ÃâÇÑ ÈÄ action-chain¿¡¼ »èÁ¦µÈ´Ù. init¸Þ¼Òµå¿Í ¸¶Âù°¡Áö·Î action-chain¿¡¼ ActionÀÌ Á¦°ÅµÉ ¶§ ÃÖÁ¾ÀûÀ¸·Î ÇÑ ¹ø¸¸ È£ÃâµÈ´Ù. |
java.lang.String |
getInfo()
°¡¿ì½º ActionÀÇ Á¤º¸¸¦ ¹ÝȯÇÑ´Ù. |
void |
init()
Action¿¡ Á¤ÀÇµÈ init¸Þ¼Òµå´Â Ç×»ó ActionConfig¸¦ ó¸®ÇØ¾ß Çϱ⠶§¹®¿¡ ÀÌ·± ÀÛ¾÷ ÇÏÁö ¾Ê¾Æµµ µÇµµ·Ï ÆíÀǸ¦ À§ÇØ Á¦°øÇÏ´Â ¸Þ¼ÒµåÀÌ´Ù. |
void |
init(ActionConfig config)
°¡¿ì½º ActionÀÌ Ã³À½À¸·Î »ý¼ºµÇ¾î action-chain¿¡ µî·ÏµÉ ¶§ ÃÖÃÊ Çѹø¸¸ È£ÃâµÇ¸ç ActionConfig¸¦ ÅëÇØ action-chain¿¡´ëÇÑ Á¤º¸¸¦ ȹµæÇÒ ¼ö ÀÖ´Ù. |
abstract void |
invoke(HttpGauceRequest request,
ActionChain chain)
Ŭ¶óÀ̾ðÆ®¿¡¼ ¼ºñ½º¸¦ È£ÃâÇÒ ¶§ °¡¿ì½º ¼¹ö´Â gsaf-config.xml¿¡¼ ÇØ´ç ¼ºñ½ºÀÇ action-chain¿¡ µî·ÏµÈ ActionµéÀº Request°¡ ÇØ´ç ¼ºñ½º¿¡ µµ´ÞµÇ±â Àü¿¡ ÀÌ ¸Þ¼Òµå¸¦ È£ÃâÇÑ´Ù. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void init(ActionConfig config) throws javax.servlet.ServletException
init
in interface Action
config
- action-chain¿¡ ´ëÇÑ Á¤º¸¸¦ ȹµæÇÒ ¼ö ÀÖ´Â ActionConfig, ÀÌ
ÀÎÅÍÆäÀ̽º¸¦ ÀÌ¿ëÇÏ¿© ServletContextµµ ȹµæÇÒ ¼ö ÀÖÀ¸¸ç µû¶ó¼ ¼ºí¸´°ú À¯¿¬ÇÑ
¿¬µ¿À» Á¦°øÇÑ´Ù.
javax.servlet.ServletException
- init¸Þ¼Òµå¿¡¼ ¼ºí¸´°ú °ü·ÃµÈ ¿À·ù°¡
¹ß»ýÇÒ °æ¿ìpublic void init() throws javax.servlet.ServletException
javax.servlet.ServletException
- ÃʱâÈ ÇÏ´Â °úÁ¤¿¡¼ ¿À·ù°¡ ¹ß»ýÇÒ °æ¿ìpublic java.lang.String getInfo()
getInfo
in interface Action
public abstract void invoke(HttpGauceRequest request, ActionChain chain) throws java.io.IOException, javax.servlet.ServletException
invoke
in interface Action
request
- Ŭ¶óÀ̾ðÆ®(ÄÄÆ÷³ÍÆ®)¿¡¼ ¿äûµÈ Request°´Ã¼,
HttpServletReqeust¸¦ »ó¼Ó¹ÞÀº ÀÎÅÍÆäÀ̽ºÀ̱⠶§¹®¿¡ HttpServlet¿¡ ÀÖ´Â ¸Þ¼Òµå´Â
µ¿ÀÏÇÑ ¹æ¹ýÀ¸·Î »ç¿ëÇÒ ¼ö ÀÖ´Ù.chain
- ÇöÀç ActionÀÌ µî·ÏµÇ¾î ÀÖ´Â ActionüÀÎÀ» ³ªÅ¸³½´Ù. ÀÌ ¸Þ¼Òµå¿¡¼
󸮰¡ ¿Ï·áµÇ¸é ´ÙÀ½ ActionÀÇ Ã³¸®¸¦ À§ÇØ invokeNext¸Þ¼Òµå¸¦ È£ÃâÇÑ´Ù.
java.io.IOException
- Action¿¡¼ ¾÷¹«·ÎÁ÷À» ó¸®ÇÏ´Â µ¿¾È IO¿Í °ü·ÃµÈ
¿À·ù°¡ ¹ß»ýÇÒ °æ¿ì
javax.servlet.ServletException
- ¼ºí¸´°ú °ü·ÃµÈ ¿À·ù°¡ ¹ß»ýÇÒ °æ¿ìpublic void destroy()
destroy
in interface Action
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |