String executorClassName = (String)m_executorMappings.get(mappingName);
String executorName = msgObject;
try {
// instantiate that class
logger.info("Instantiating executor: " + executorClassName);
RequestLogicExecutor executor = (RequestLogicExecutor)Class.forName(executorClassName).newInstance();
try {
PropertyConfig pConfig = (PropertyConfig)getAppConfig().getObject(msgObject + "Properties");
executor.setProperties(pConfig.getProperties());
}
catch (Exception e) {
logger.warn("No executor specific properties found for the " + executorName +
" executor. Using Command's 'GeneralProperties' properties.");
executor.setProperties(getProperties());
}
executor.setExecutorAppConfig(getAppConfig());
executor.setMessageObject(eMessageObject);
executor.setBaseline(eBaselineMessageObject);
executor.setMessageAction(msgAction);
executor.setMessageObjectName(msgObject);
executor.setMessageRelease(msgRelease);
executor.setTestId(testId);
executor.execute(replyDoc);
String replyContents = buildReplyDocument(eControlArea, replyDoc);
return getMessage(msg, replyContents);
}
catch (Exception e) {
errMessage =