/*
* Copyright 2001-2007 Geert Bevin <gbevin[remove] at uwyn dot com>
* Distributed under the terms of either:
* - the common development and distribution license (CDDL), v1.0; or
* - the GNU Lesser General Public License, v2.1 or later
* $Id: EngineContinuationConfigInstrument.java 3805 2007-06-23 20:18:19Z gbevin $
*/
package com.uwyn.rife.engine;
import com.uwyn.rife.continuations.ContinuationConfigInstrument;
public class EngineContinuationConfigInstrument implements ContinuationConfigInstrument
{
public String getContinuableMarkerInterfaceName()
{
// this method should never be called since the engine doesn't use
// the ContinuableDetectionClassVisitor, but the
// ElementDetectionClassVisitor instead
throw new UnsupportedOperationException();
}
public String getContinuableSupportClassName()
{
return ElementSupport.class.getName();
}
public String getEntryMethodName()
{
return "processElement";
}
public Class getEntryMethodReturnType()
{
return void.class;
}
public Class[] getEntryMethodArgumentTypes()
{
return null;
}
public String getPauseMethodName()
{
return "pause";
}
public String getStepbackMethodName()
{
return "stepBack";
}
public String getCallMethodName()
{
return "call";
}
public Class getCallMethodReturnType()
{
return Object.class;
}
public Class[] getCallMethodArgumentTypes()
{
return new Class[] {String.class};
}
public String getAnswerMethodName()
{
return "answer";
}
}
|