Class SaveAnnotationServerOperation
java.lang.Object
com.levigo.jadice.web.demo.enterprise.server.SaveAnnotationServerOperation
- All Implemented Interfaces:
ServerOperation<SaveAnnotationParameters,
ServerOperationMessage>
@Component
public class SaveAnnotationServerOperation
extends Object
implements ServerOperation<SaveAnnotationParameters,ServerOperationMessage>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.levigo.jadice.web.server.ServerOperation
ServerOperation.Request<P>, ServerOperation.ResponseChannel<M>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
invoke
(ServerOperation.Request<SaveAnnotationParameters> request, ServerOperation.ResponseChannel<ServerOperationMessage> responseChannel) Executes the operation asynchronously on the server side.
-
Constructor Details
-
SaveAnnotationServerOperation
public SaveAnnotationServerOperation()
-
-
Method Details
-
invoke
public void invoke(ServerOperation.Request<SaveAnnotationParameters> request, ServerOperation.ResponseChannel<ServerOperationMessage> responseChannel) throws IOException Description copied from interface:ServerOperation
Executes the operation asynchronously on the server side.- Specified by:
invoke
in interfaceServerOperation<SaveAnnotationParameters,
ServerOperationMessage> - Parameters:
request
- The client request containing the configuration for the executionresponseChannel
- The channel which the server uses to notify the client- Throws:
IOException
-