public abstract class AbstractGenericRemoteInvocationCommandService extends AbstractGenericRemoteInvocationService<RemoteInvocationCommand<?>,GenericRemoteInvocationCommandRequest,GenericRemoteInvocationCommandResponse,GenericRemoteInvocationCommandCallHandler> implements GenericRemoteInvocationCommandService
GenericRemoteInvocationCommandService.AbstractGenericRemoteInvocationService.RequestContext| Constructor and Description | 
|---|
| AbstractGenericRemoteInvocationCommandService()The constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| GenericRemoteInvocationCommandResponse | callCommands(GenericRemoteInvocationCommandRequest request)This method calls one or multiple  RemoteInvocationCommands on the
 server. | 
| protected GenericRemoteInvocationCommandResponse | createResponse(int requestId,
              CsrfToken xsrfToken,
              GenericRemoteInvocationTransactionalResults[] transactionalResults)Creates a new instance of <RESPONSE>. | 
| protected String | getHandlerId(RemoteInvocationCommand<?> command) | 
| void | setCommandHandlers(List<RemoteInvocationCommandHandler<?,?>> commandHandlers) | 
doInitialize, doSecurityCheck, getExceptionUtil, getHandler, getHandlerCount, getMaximumCallsPerRequest, getMaximumCallsPerTransaction, getMaximumTransactionsPerRequest, getSecurityDetector, getValidator, getXsrfTokenManager, handleCallFailure, handleLoginOperation, handleTxCallsFailure, logFailure, processCall, processCallsInTransaction, processRequest, processTransactionalCalls, registerHandler, setExceptionUtil, setMaximumCallsPerRequest, setMaximumCallsPerTransaction, setMaximumTransactionsPerRequest, setSecurityDetector, setValidator, setXsrfTokenManagercreateLogger, getLoggerdoInitialized, getInitializationState, initializepublic AbstractGenericRemoteInvocationCommandService()
public GenericRemoteInvocationCommandResponse callCommands(GenericRemoteInvocationCommandRequest request)
RemoteInvocationCommands on the
 server. The implementation is typically generic and dispatches the
 commands to according services.callCommands in interface GenericRemoteInvocationCommandServicerequest - is the GenericRemoteInvocationCommandRequest.GenericRemoteInvocationCommandResponse.protected GenericRemoteInvocationCommandResponse createResponse(int requestId, CsrfToken xsrfToken, GenericRemoteInvocationTransactionalResults[] transactionalResults)
createResponse in class AbstractGenericRemoteInvocationService<RemoteInvocationCommand<?>,GenericRemoteInvocationCommandRequest,GenericRemoteInvocationCommandResponse,GenericRemoteInvocationCommandCallHandler>requestId - is the requestId.xsrfToken - is the xsrfToken.transactionalResults - are the transactional results.GenericRemoteInvocationRequest.@Inject public void setCommandHandlers(List<RemoteInvocationCommandHandler<?,?>> commandHandlers)
commandHandlers - is the List with the supported RemoteInvocationCommandHandlers.protected String getHandlerId(RemoteInvocationCommand<?> command)
getHandlerId in class AbstractGenericRemoteInvocationService<RemoteInvocationCommand<?>,GenericRemoteInvocationCommandRequest,GenericRemoteInvocationCommandResponse,GenericRemoteInvocationCommandCallHandler>command - is the RemoteInvocationCall.ID.Copyright © 2001–2016 mmm-Team. All rights reserved.