public ProcessInstanceDAO getDAO() {
return _dao;
}
public static MyRoleMessageExchangeImpl createMyRoleMex(Exchange e, BpelEngineImpl engine) throws Exception {
MyRoleMessageExchangeImpl mex = (MyRoleMessageExchangeImpl) engine.createMessageExchange(new GUID().toString(), e.getService(), e.getOperation());
mex.getDAO().setCreateTime(e.getCreateTime().getTime());
MessageImpl m2 = (MessageImpl) mex.createMessage(new QName("replayer", "replayer"));
assign(m2._dao, e.getIn());
mex.getDAO().setRequest(m2._dao);
mex.getDAO().setStatus(Status.REQUEST.toString());
return mex;
}