com.poscoict.glueframework.biz.activity
Class GlueDefaultRouter
java.lang.Object
com.poscoict.glueframework.biz.activity.GlueActivity<GlueContext>
com.poscoict.glueframework.biz.activity.GlueDefaultRouter
public class GlueDefaultRouter
- extends GlueActivity<GlueContext>
Router Activity. GlueDefaultRouter Class´Â GlueContextÀÇ °ª¿¡ µû¶ó RoutingÀ» ÇÏ´Â ClassÀÌ´Ù.
Activity Property
- ¾øÀ½
¿¹Á¦
»ç¿ë ¿¹# 1
GlueContext ³»¿ë ÀϺÎ.
- {find=1, EMPNO=7782, ... } : OK
- {update=1, EMPNO=7782, ... } : OK
- {delete=1, EMPNO=7782, ... } : OK
- {find=1, update=1, EMPNO=7782, ... } : ERROR
{xxx}-service.xml¿¡ À§¿Í °°ÀÌ Á¤ÀÇ°¡ µÇ¾î ÀÖ°í,
GlueContext¿¡ transition name¿¡ ÇØ´çÇÏ´Â key°¡ 1°³¸¸ Á¸ÀçÇÑ´Ù¸é,
transition name¿¡ Á¤ÀÇµÈ Activity·Î Routing ÇÑ´Ù.
Activity°¡ RouterÀÎ °æ¿ì Event¿¡ µû¶ó ´ÙÀ½ Activity¸¦ °áÁ¤ÇÏ°Ô ÇÑ´Ù.
ÇϳªÀÇ Activity¿¡¼ µÑ ÀÌ»óÀÇ Event °ªÀÌ Á¸Àç ÇÒ ¼ö ¾ø´Ù.
Áï, Activity¿¡ Á¤ÀÇµÈ transition nameµéÀÌ Context¿¡¼ 2°³ ÀÌ»ó Á¸ÀçÇÒ °æ¿ì RoutingÀ» ÇÏÁö ¸øÇÑ´Ù.
Method Summary |
String |
runActivity(GlueContext ctx)
runActivity¸¦ Overriding ÇÑ´Ù¸é ¹Ýµå½Ã "return GlueBizControlConstants.ROUTER;"¸¦ ÇÏ¿©¾ß ÇÑ´Ù. |
Methods inherited from class com.poscoict.glueframework.biz.activity.GlueActivity |
commitTransaction, commitTransaction, getDao, getEventList, getName, getProperty, getPropertyNames, getTransition, rollbackTransaction, rollbackTransaction, setEventList, setName, setProperty, setTransition |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlueDefaultRouter
public GlueDefaultRouter()
runActivity
public String runActivity(GlueContext ctx)
- runActivity¸¦ Overriding ÇÑ´Ù¸é ¹Ýµå½Ã "return GlueBizControlConstants.ROUTER;"¸¦ ÇÏ¿©¾ß ÇÑ´Ù.
- Specified by:
runActivity
in class GlueActivity<GlueContext>
- Parameters:
ctx
- GlueContext
- Returns:
- "router"
Copyright © 2013–2015 POSCO ICT SWÁ¦Ç°±â¼úÆÀ. All rights reserved.