Package org.uengine.kernel

Examples of org.uengine.kernel.MessageDefinition


    if(!isInterface){
      out.println("  public "+ procName +"(){}");
      out.println();
    }
   
    MessageDefinition starterMessage = getStarterMessage(proc);
    if(starterMessage == null){
      out.print("  public String start() throws java.rmi.RemoteException");
   
      if(isInterface)
        out.println(";");
View Full Code Here


      public void itemStateChanged(ItemEvent e){
        if(e.getStateChange()!=ItemEvent.SELECTED) return;
       
//        if(parametersInputter.getValue()!=null) return;
       
        MessageDefinition md = (MessageDefinition)getValue();
        MessageDefinition copyMD = md.copy();
        ParameterContext[] src = copyMD.getParameters();   
        parametersInputter.setValue(src);       
      }
    });      
   
    return cb;
View Full Code Here

    Role role = (Role)keyedContext.get("role");   
    Role myRole = (Role)keyedContext.get(ProcessDefinitionAdapter.MY_ROLE);   
    if(!srcAct.getRole().equals(role)) return null;

    Vector messageDefinitions = (Vector)keyedContext.get(ProcessDefinitionAdapter.MSG_DEFS);
    MessageDefinition md = null;   
    try{     
      Object[] parameters = srcAct.getParameters();
      ParameterContext[] paramCtxs = new ParameterContext[parameters.length];
      System.arraycopy(parameters, 0, paramCtxs, 0, parameters.length);
      md = new MessageDefinition();
      String opName = srcAct.getOperationName();
      if(opName.startsWith("on")){
        opName = opName.substring(2);
      }
      md.setName(opName);
      md.setParameters(paramCtxs);
      messageDefinitions.add(md);

      Vector variableDefinitions = (Vector)keyedContext.get(ProcessDefinitionAdapter.VAR_DEFS);
      for(int i=0; i<paramCtxs.length; i++){
        variableDefinitions.add(paramCtxs[i].getVariable());
View Full Code Here

    myRole.setName(srcProcName);
    myRole.setServiceType(mySvcDef);
    dstProc.setRoles(new Role[]{myRole});
    dstProc.setName(role.getName());
   
    MessageDefinition message = new MessageDefinition();
    ServiceDefinition svcDef = role.getServiceType();   
//    Definition wsdlDef = svcDef.getDefinition();
   
//    keyedContext.put(WSDL_DEF, wsdlDef); 
    keyedContext.put(DEST_PROC, dstProc)
View Full Code Here

      XQName xqName = new XQName("sdns", "", variableName);
      variableName = "var_" + variableName;
      addVariables.add(new Object[]{variableName, xqName});     
    }
   
    MessageDefinition md = srcAct.getMessageDefinition();
    tReceive destAct = new tReceive();{
      destAct.setname_Attribute(new XNCName(srcAct.getName().getText().replace(' ', '_').replace('?', '_')));
     
      String procName = srcAct.getProcessDefinition().getName().getText().replace(' ','_').replace('?', '_');
      destAct.setportType_Attribute(new XQName("sdns", "", procName));
View Full Code Here

TOP

Related Classes of org.uengine.kernel.MessageDefinition

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.