1 /***************************************************************************** 2 * Copyright (C) Zephyr Business Solution. All rights reserved. * 3 * ------------------------------------------------------------------------- * 4 * The software in this package is published under the terms of the BSD * 5 * style license a copy of which has been included with this distribution in * 6 * the LICENSE.txt file. * 7 *****************************************************************************/ 8 9 /* 10 * Created on Oct 13, 2005 11 * 12 * Author Michelle Lei 13 * ZBS 14 */ 15 package jfun.yan.lifecycle; 16 17 /** 18 * <p> 19 * Represents any procedure that can be invoked. 20 * </p> 21 * Zephyr Business Solution 22 * 23 * @author Michelle Lei 24 * 25 */ 26 public interface Procedure { 27 /** 28 * Invoke the procedure. 29 * @param self the 'this' object. 30 * @param args the arguments. 31 * @throws Throwable any exception during execution. 32 */ 33 void invoke(Object self, Object[] args) 34 throws Throwable; 35 } 36