com.mycompany.myproject.api
Class MyFunctionImpl
java.lang.Object
org.xins.common.manageable.Manageable
org.xins.server.Function
com.mycompany.myproject.api.MyFunction
com.mycompany.myproject.api.MyFunctionImpl
- public class MyFunctionImpl
- extends MyFunction
Implementation of the MyFunction
function.
- Version:
- $Revision: 1.6 $ $Date: 2007/03/12 10:46:15 $
- Author:
- Anthony Goubard
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MyFunctionImpl
public MyFunctionImpl(APIImpl api)
- Constructs a new
MyFunctionImpl
instance.
- Parameters:
api
- the API to which this function belongs, guaranteed to be not
null
.
call
public final MyFunction.Result call(MyFunction.Request request)
throws Throwable
- Description copied from class:
MyFunction
- Calls this function. If the function fails, it may throw any kind of
exception. All exceptions will be handled by the caller.
- Specified by:
call
in class MyFunction
- Parameters:
request
- the request, never null
.
- Returns:
- the result of the function call, should never be
null
.
- Throws:
Throwable
- if anything went wrong.