Package com.founder.fix.fixflow.core.action

Examples of com.founder.fix.fixflow.core.action.ConnectorHandler


     
     
     
      String classNameObj = packageName +"."+ className;
      Class<?> connectorHandlerClass = Class.forName(classNameObj);
      ConnectorHandler connectorInstance = (ConnectorHandler) connectorHandlerClass.newInstance();
     
     
     
     
 
     
      for (ConnectorParameterInputs connectorParameterInputs : this.getConnectorParameterInputs()) {
       
        Class<?> ptypes[] = new Class[1];
     
        ptypes[0] = Class.forName(connectorParameterInputs.getDataType());
   
       
        String parameterInputsId=connectorParameterInputs.getId();
       
        String methodString="set"+parameterInputsId.substring(0, 1).toUpperCase()+parameterInputsId.substring(1, parameterInputsId.length());
        Method m = connectorHandlerClass.getMethod(methodString, ptypes);
       
        if(connectorParameterInputs.getExpression()!=null){
          String scriptString=connectorParameterInputs.getExpression().getValue();
          if(scriptString!=null){
            Object arg[] = new Object[1];
            arg[0] =ExpressionMgmt.execute(scriptString, executionContext);
            m.invoke(connectorInstance, arg);
          }
        }
       
       
       
      }
     
      connectorInstance.execute(executionContext);
     
     
     
      for (ConnectorParameterOutputs connectorParameterOutputs : this.getConnectorParameterOutputs()) {
           
View Full Code Here

TOP

Related Classes of com.founder.fix.fixflow.core.action.ConnectorHandler

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.