1 import org.enhydra.shark.api.internal.toolagent.AppParameter; 2 3 public class MultiplicationProc { 4 public static void execute (AppParameter param1,AppParameter param2,AppParameter result) { 5 try { 6 result.the_value=new Long (((Long )param1.the_value).longValue()*((Long )param2.the_value).longValue()); 7 System.out.println("The result of MultiplicationProc is "+result.the_value); 8 } catch (Exception ex) { 9 System.out.println("MultiplicationProc - Problems while executing procedure"); 10 } 11 } 12 } 13 | Popular Tags |