public class GlueContextClear extends GlueActivity<GlueContext>
Activity Property - ctx-keys : (필수) 이전 Activity에서 ctx에 담은 key 이름 예제사용 예# 1 ==> Custom Activity 다음에 MemoryClear Acitivity를 실행시 다음 로직이 수행됨. ctx.remove( "Emp10Result" ); ctx.remove( "Emp20Result" ); 참고 : Java Code(Custom) List rowSet1 = dao.findByQueryStatement("select * from emp where deptno=10"); List rowSet2 = dao.findByQueryStatement("select * from emp where deptno=20"); ctx.put("Emp10Result",rowSet1); ctx.put("Emp20Result",rowSet2);
dynamicProperties, logger
Constructor and Description |
---|
GlueContextClear() |
Modifier and Type | Method and Description |
---|---|
String |
runActivity(GlueContext ctx)
Sub Class에서 반드시 구현하여야 하는 Abstract Method 이며 이 Method는 F/W에서 호출한다.
|
commitTransaction, commitTransaction, getDao, getEventList, getName, getProperty, getPropertyNames, getTransition, rollbackTransaction, rollbackTransaction, setEventList, setName, setProperty, setTransition
public String runActivity(GlueContext ctx)
GlueActivity
runActivity
in class GlueActivity<GlueContext>
ctx
- GlueContext예)==> return "success"이면 BizLogic Activity 를 실행함.
Copyright © 2023–2024 POSCO DX. All rights reserved.