01: /*
02: * Copyright 2001-2007 Geert Bevin <gbevin[remove] at uwyn dot com>
03: * Distributed under the terms of either:
04: * - the common development and distribution license (CDDL), v1.0; or
05: * - the GNU Lesser General Public License, v2.1 or later
06: * $Id: ContinuationConfigInstrumentTests.java 3819 2007-06-28 13:13:23Z gbevin $
07: */
08: package com.uwyn.rife.continuations;
09:
10: public class ContinuationConfigInstrumentTests implements
11: ContinuationConfigInstrument {
12: public String getContinuableMarkerInterfaceName() {
13: return ContinuableObject.class.getName();
14: }
15:
16: public String getContinuableSupportClassName() {
17: return ContinuableSupport.class.getName();
18: }
19:
20: public String getEntryMethodName() {
21: return "execute";
22: }
23:
24: public Class getEntryMethodReturnType() {
25: return void.class;
26: }
27:
28: public Class[] getEntryMethodArgumentTypes() {
29: return null;
30: }
31:
32: public String getPauseMethodName() {
33: return "pause";
34: }
35:
36: public String getStepbackMethodName() {
37: return "stepback";
38: }
39:
40: public String getCallMethodName() {
41: return "call";
42: }
43:
44: public Class getCallMethodReturnType() {
45: return Object.class;
46: }
47:
48: public Class[] getCallMethodArgumentTypes() {
49: return new Class[] { Class.class };
50: }
51:
52: public String getAnswerMethodName() {
53: return "answer";
54: }
55: }
|