Package org.any_openeai_enterprise.gateways.brg

Examples of org.any_openeai_enterprise.gateways.brg.RequestLogicExecutor


    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 =
View Full Code Here

TOP

Related Classes of org.any_openeai_enterprise.gateways.brg.RequestLogicExecutor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.