| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- package xin.glue.nui.G.G02;
- import com.posdata.glue.PosException;
- import com.posdata.glue.biz.constants.PosBizControlConstants;
- import com.posdata.glue.biz.control.PosBizControlIF;
- import com.posdata.glue.biz.control.PosBizProvider;
- import com.posdata.glue.context.PosContext;
- import com.posdata.glue.dao.PosGenericDao;
- import com.posdata.glue.dao.vo.PosParameter;
- import com.posdata.glue.dao.vo.PosRow;
- import com.posdata.glue.dao.vo.PosRowSet;
- import com.posdata.glue.msg.PosMESMessageImpl;
- import com.posdata.glue.msg.PosMessage;
- import com.posdata.glue.scheduling.PosQuartzJobBean;
- import com.posdata.glue.transaction.PosTransactionManager;
- import com.posdata.glue.util.log.PosLog;
- import com.posdata.glue.util.log.PosLogFactory;
- import com.posdata.glue.msg.PosMessageAttributeDefinition;
- import com.posdata.glue.msg.PosMessageDefinition;
- import com.posdata.glue.component.layout.PosXmlMessageLayout;
- import org.quartz.JobExecutionContext;
- import java.util.Map;
- import com.posdata.glue.util.xml.PosDOMParser;
- public class PosLayoutEdit extends PosQuartzJobBean {
- protected PosGenericDao dao = (PosGenericDao)
- PosContext.getBeanFactory().getBeanObject("mesdao");
- private PosTransactionManager transaction =
- (PosTransactionManager) PosContext.getBeanFactory().getBeanObject("tx1");
- protected PosLog log = PosLogFactory.getLogger(getClass());
-
- protected void executeJob(JobExecutionContext arg0)
- {
-
- log.logInfo("PosLayoutEdit start " );
-
- String MsgId = "NIG020610";
- PosContext context = new PosContext();
- PosMessage message = new PosMESMessageImpl();
- message.setTC(MsgId);
- message.setTCID(MsgId);
-
- PosXmlMessageLayout aaa = new PosXmlMessageLayout();
-
- String serviceID = "NIG060010";
- String SERVICE_POSTFIX = "-service";
- context.setMessage(message);
-
- context.put(PosBizControlConstants.SERVICE_NAME, serviceID + SERVICE_POSTFIX);
-
- PosBizProvider.getController().doSubController(context, false);
-
- PosBizControlIF controller = PosBizProvider.getController();
-
-
- }
-
- }
|