public abstract class AbstractGenericRemoteInvocationRpcService extends AbstractGenericRemoteInvocationService<GenericRemoteInvocationRpcCall,GenericRemoteInvocationRpcRequest,GenericRemoteInvocationRpcResponse,GenericRemoteInvocationRpcCallHandler<?>> implements GenericRemoteInvocationRpcService
GenericRemoteInvocationRpcService. You can extend
this class to add custom logic.AbstractGenericRemoteInvocationService.RequestContext| Constructor and Description |
|---|
AbstractGenericRemoteInvocationRpcService()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
GenericRemoteInvocationRpcResponse |
callServices(GenericRemoteInvocationRpcRequest request)
This method calls one or multiple
RemoteInvocationService
Methods. |
protected GenericRemoteInvocationRpcResponse |
createResponse(int requestId,
CsrfToken xsrfToken,
GenericRemoteInvocationTransactionalResults[] transactionalResults)
Creates a new instance of <RESPONSE>.
|
protected String |
getHandlerId(GenericRemoteInvocationRpcCall call) |
protected void |
registerService(RemoteInvocationService service)
This method registers the given
RemoteInvocationService. |
void |
setServices(List<RemoteInvocationService> services)
This method sets the
List with all available RemoteInvocationService implementations. |
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 AbstractGenericRemoteInvocationRpcService()
public GenericRemoteInvocationRpcResponse callServices(GenericRemoteInvocationRpcRequest request)
RemoteInvocationService
Methods.callServices in interface GenericRemoteInvocationRpcServicerequest - is the GenericRemoteInvocationRpcRequest.GenericRemoteInvocationRpcResponse.protected String getHandlerId(GenericRemoteInvocationRpcCall call)
getHandlerId in class AbstractGenericRemoteInvocationService<GenericRemoteInvocationRpcCall,GenericRemoteInvocationRpcRequest,GenericRemoteInvocationRpcResponse,GenericRemoteInvocationRpcCallHandler<?>>call - is the RemoteInvocationCall.ID.protected GenericRemoteInvocationRpcResponse createResponse(int requestId, CsrfToken xsrfToken, GenericRemoteInvocationTransactionalResults[] transactionalResults)
createResponse in class AbstractGenericRemoteInvocationService<GenericRemoteInvocationRpcCall,GenericRemoteInvocationRpcRequest,GenericRemoteInvocationRpcResponse,GenericRemoteInvocationRpcCallHandler<?>>requestId - is the requestId.xsrfToken - is the xsrfToken.transactionalResults - are the transactional results.GenericRemoteInvocationRequest.@Inject public void setServices(List<RemoteInvocationService> services)
List with all available RemoteInvocationService implementations. It
is supposed to be invoked automatically for dependency-injection.services - is the List with all available RemoteInvocationService implementations.protected void registerService(RemoteInvocationService service)
RemoteInvocationService.service - is the RemoteInvocationService to register.Copyright © 2001–2016 mmm-Team. All rights reserved.