com.poscoict.glueframework.biz.activity
Class GlueSubService

java.lang.Object
  extended by com.poscoict.glueframework.biz.activity.GlueActivity<GlueContext>
      extended by com.poscoict.glueframework.biz.activity.GlueSubService

public class GlueSubService
extends GlueActivity<GlueContext>

SubService Acitivity. GlueSubService Class´Â Sub Service¸¦ È£ÃâÇÏ¿© ½ÇÇà ÇÑ´Ù.

 »ç¿ë ¿¹
 <activity name="CallSubController" class="com.poscoict.glueframework.biz.activity.GlueSubService">
     <transition name="success" value="HandleError"/>
     <property name="service-name" value="SubService-service"/>
     <property name="new-transaction" value="true"/>
 </activity>
 
 Áï MainService - > SubService¸¦ Æ÷ÇÔ ÇÒ ¼ö ÀÖ´Ù.
 »ç¿ë ¹æ¹ýÀº ´ÙÀ½°ú °°´Ù.
 SubService¸¦ È£Ãâ ÇÏ´Â À§ ¿¹Á¦¿¡¼­Ã³·³ 
  <property name="new-transaction" value="true"/> ÀÎ °æ¿ì 
 MainServiceÀÇ Transaction°ú º°°³·Î SubService¿¡ Á¤ÀǵǾî ÀÖ´Â TransactionÀ» ó¸®ÇÏ°Ô µÈ´Ù. 
 "false"À̸é Transaction 󸮸¦ ÇÏÁö ¾Ê´Â´Ù.
 Áï MainServiceÀÇ TransactionÀ» ÀÌ¿ëÇÏ°Ô µÈ´Ù. 
 
 
 
 Property ¼³Á¤
 - service-name : (Çʼö) Service Name.
 
 - new-transaction : (¼±ÅÃ) true, false
 


Field Summary
 
Fields inherited from class com.poscoict.glueframework.biz.activity.GlueActivity
dynamicProperties, logger
 
Constructor Summary
GlueSubService()
           
 
Method Summary
 String runActivity(GlueContext ctx)
          GlueBizController.doSubController¸¦ È£Ãâ ÇÑ´Ù.
 
Methods inherited from class com.poscoict.glueframework.biz.activity.GlueActivity
commitTransaction, getDao, getEventList, getName, getProperty, getPropertyNames, getTransition, rollbackTransaction, setEventList, setName, setProperty, setTransition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlueSubService

public GlueSubService()
Method Detail

runActivity

public String runActivity(GlueContext ctx)
GlueBizController.doSubController¸¦ È£Ãâ ÇÑ´Ù.
doController¿Í Â÷ÀÌÁ¡Àº Transaction 󸮸¦ Á¦¿ÜÇÏ°í µ¿ÀÏÇÏ°Ô Ã³¸® µÈ´Ù.

Specified by:
runActivity in class GlueActivity<GlueContext>
Parameters:
ctx - GlueContext
Returns:
String Transition Name


Copyright © 2013–2014 POSCO ICT SWÁ¦Ç°±â¼úÆÀ. All rights reserved.