All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jadex.bpmn.examples.service.ServiceHandler.bpmn2 Maven / Gradle / Ivy

Go to download

The Jadex bpmn applications package contains several example applications, benchmarks and testcases using bpmn workflows.

There is a newer version: 4.0.267
Show newest version


  
    ServiceHandler
    <h1>Service Handling Process</h1>This process provides a service and starts threads for handling service invocations.
    jadex.bpmn.examples.service
    
    
      
    
    
      
    
    
      
      
      
      
      
      
    
  
  
    
      
        _kN-CcdiCEeChMt_8FfXHzw
        _u-VykdhzEeChMt_8FfXHzw
        _CrdbIOFAEeCaWpd5N4uTqA
        _FKcmEeFAEeCaWpd5N4uTqA
        _IMZUIOFAEeCaWpd5N4uTqA
        _7HFtEdhzEeChMt_8FfXHzw
        _pAYokdiCEeChMt_8FfXHzw
        _gljxUdiCEeChMt_8FfXHzw
      
      
        _cT6R0dVUEeCSPre9p8r1cA
        _VVkKMdVVEeCSPre9p8r1cA
        _Yl2PMdVVEeCSPre9p8r1cA
        _Www84dVVEeCSPre9p8r1cA
        _ixtAMdVKEeC_1bBivy-cGg
        _a-BhEdiCEeChMt_8FfXHzw
        _VNhiEdiCEeChMt_8FfXHzw
        _TA0V0dVUEeCSPre9p8r1cA
        _TWvuE9VKEeC_1bBivy-cGg
        _25CoQdVSEeCSPre9p8r1cA
      
    
    
      _kOKPsdiCEeChMt_8FfXHzw
      _pAk10diCEeChMt_8FfXHzw
      
        jadex.bpmn.runtime.task.PrintTask
        "Handler successfully catched exception result "+$exception
      
    
    
      _CrzZYeFAEeCaWpd5N4uTqA
    
    
      _CrzZYeFAEeCaWpd5N4uTqA
      _FKpaYOFAEeCaWpd5N4uTqA
      
        jadex.bpmn.runtime.task.ServiceCallTask
        17
        4
        
        "calc"
        "public abstract jadex.commons.future.IFuture jadex.bpmn.examples.service.ICalculatorService.addValues(int,int)"
        null
      
    
    
      _FKpaYOFAEeCaWpd5N4uTqA
      _IMk6UeFAEeCaWpd5N4uTqA
      
        jadex.bpmn.runtime.task.ServiceCallTask
        
        2
        3
        
        "calc"
        "public abstract jadex.commons.future.IFuture jadex.bpmn.examples.service.ICalculatorService.addValues(int,int,int)"
        null
      
    
    
      _IMk6UeFAEeCaWpd5N4uTqA
      _7HPeEthzEeChMt_8FfXHzw
      
        jadex.bpmn.runtime.task.ServiceCallTask
        
        11
        
        "calc"
        "public abstract jadex.commons.future.IFuture jadex.bpmn.examples.service.ICalculatorService.subtractValues(int,int)"
        null
      
    
    
      _7HPeEthzEeChMt_8FfXHzw
      _MxGOYeFAEeCaWpd5N4uTqA
      
        jadex.bpmn.runtime.task.PrintTask
        "Result is "+value
      
    
    
      _pAk10diCEeChMt_8FfXHzw
    
    
      _MxGOYeFAEeCaWpd5N4uTqA
      
        
          jadex.bpmn.runtime.task.ServiceCallTask
          17
          "calc"
          "public abstract jadex.commons.future.IFuture jadex.bpmn.examples.service.ICalculatorService.broken(int)"
          null
        
      
    
    
      _kOKPsdiCEeChMt_8FfXHzw
      
    
    
      _kcCPgdVUEeCSPre9p8r1cA
      _kz1rgdVUEeCSPre9p8r1cA
      _VVt7MdVVEeCSPre9p8r1cA
      _VNtvUdiCEeChMt_8FfXHzw
      4diS3YrIQK9k6gDW
      
    
    
      _VVt7MdVVEeCSPre9p8r1cA
      _Ww6t4dVVEeCSPre9p8r1cA
      
      
        
        
      
    
    
      _YmAAMdVVEeCSPre9p8r1cA
      
      
        result
      
    
    
      _Ww6t4dVVEeCSPre9p8r1cA
      _YmAAMdVVEeCSPre9p8r1cA
      
        jadex.bpmn.runtime.task.PrintTask
        "Subtracting value "+b+" from "+a
        a-b
      
    
    
      _kz1rgdVUEeCSPre9p8r1cA
      _ixtAOtVKEeC_1bBivy-cGg
      
      
        
        
        
      
    
    
      _a-NuUdiCEeChMt_8FfXHzw
      
      
        new RuntimeException("Some error!")
      
    
    
      _VNtvUdiCEeChMt_8FfXHzw
      _a-NuUdiCEeChMt_8FfXHzw
      
      
        
      
    
    
      _kcCPgdVUEeCSPre9p8r1cA
      4diS3YrIQK9k6gDW
      _XaS3gdVUEeCSPre9p8r1cA
      
      
        $callargs[0]
        $callargs[1]
      
    
    
      _ixtAOtVKEeC_1bBivy-cGg
      _XaS3gdVUEeCSPre9p8r1cA
      _25fUMdVSEeCSPre9p8r1cA
      
        jadex.bpmn.runtime.task.PrintTask
        "Adding values "+a+" and "+b+(ifdef.c ? " and "+c : "")
        a+b+(ifdef.c? c: 0)
      
    
    
      _25fUMdVSEeCSPre9p8r1cA
      
      
        result
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      
      
      
    
  
  
    
      
        
      
      
        
      
      
        
      
      
        
      
      
        
        
          b
          a
        
      
      
        
        
          b
          c
        
      
      
        
        
          b
        
      
      
        
      
      
        
      
      
        
      
      
      
      
        
      
      
        
      
      
        
      
      
        
      
      
        
      
      
        
      
      
        
      
      
        
      
      
        
      
      
        
      
      
        
      
      
        
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  






© 2015 - 2024 Weber Informatics LLC | Privacy Policy