org.ws4d.java.service
Interface InvokeDelegate
public interface InvokeDelegate
Instances of this interface can be used within an OperationStub
to
implement the actual business logic of a service's operation.
invoke
ParameterValue invoke(Operation operation,
ParameterValue arguments)
throws InvocationException
- Executes the business logic associated with the given
operation
. The values of any available input parameters can
be obtained from the supplied arguments
. The returned value
corresponds to the result of the operation. In case any
predefined faults
arise during the
execution of the business logic, an InvocationException
should be
thrown.
- Parameters:
operation
- the operation invokedarguments
- input arguments
- Returns:
- output/result of the invocation
- Throws:
InvocationException
- denotes failures occurring during the
execution of the business logic