else if(Constants.PARTICIPANT_ACT_EXECUTER.equalsIgnoreCase(mode))
return new ActExecuterParticipantMode();
else if(Constants.PARTICIPANT_ACT_LOGIC.equalsIgnoreCase(mode))
return new ActLogicParticipantMode();
else if(Constants.PARTICIPANT_ACT_RELDATA.equalsIgnoreCase(mode))
return new RelDataParticipantMode();
else
throw new ProcessEngineException("参与者模式值不正确,Mode="+mode);
}