01: /* Method.java
02:
03: {{IS_NOTE
04: Purpose:
05:
06: Description:
07:
08: History:
09: Thu Jan 25 13:51:30 2007, Created by tomyeh
10: }}IS_NOTE
11:
12: Copyright (C) 2007 Potix Corporation. All Rights Reserved.
13:
14: {{IS_RIGHT
15: This program is distributed under GPL Version 2.0 in the hope that
16: it will be useful, but WITHOUT ANY WARRANTY.
17: }}IS_RIGHT
18: */
19: package org.zkoss.zk.scripting;
20:
21: /**
22: * Represents a method stored in an interpretor.
23: *
24: * @author tomyeh
25: * @deprecated as release 3.0.0, replaced by {@link org.zkoss.xel.Function}.
26: */
27: public interface Method {
28: /**
29: * @deprecated as release 3.0.0, replaced by {@link org.zkoss.xel.Function}.
30: */
31: public Class[] getParameterTypes();
32:
33: /**
34: * @deprecated as release 3.0.0, replaced by {@link org.zkoss.xel.Function}.
35: */
36: public Class getReturnType();
37:
38: /**
39: * @deprecated as release 3.0.0, replaced by {@link org.zkoss.xel.Function}.
40: */
41: public Object invoke(Object[] args) throws Exception;
42: }
|