Package org.uengine.kernel

Examples of org.uengine.kernel.ProcessDefinition.clone()


     
      //ProcessDefinition orginial = getProcessDefinition(""+pil.getDefVerId());
       
      //Some EJB containers doesn't carry out serialization for object passing (especially in case that the caller is in the same VM).
      // So, it is required to make a copy so that the original object cannot be modified.
      return (ProcessDefinition)orginial.clone();
    }catch(Exception e){
      e.printStackTrace();
      throw new RemoteException("ProcessManagerError:"+e.getMessage(), e);
    }
  }
View Full Code Here


    try{
      if(thread_When_The_Undo_Signaled == Thread.currentThread().getId()) return; //allow only one time
     
      thread_When_The_Undo_Signaled = Thread.currentThread().getId();
      ProcessDefinition currDefinition = (ProcessDefinition )getProcessDefinitionDesigner().getActivity();       
      setDefinitionForUndo((ProcessDefinition) currDefinition.clone());
    }catch(Exception e){
    }
  }

 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.