org.cruxframework.crux.core.server.dispatch.st
Class CruxSynchronizerTokenServiceImpl

java.lang.Object
  extended by org.cruxframework.crux.core.server.dispatch.st.CruxSynchronizerTokenServiceImpl
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, RequestAware, SessionAware, CruxSynchronizerTokenHandler, CruxSynchronizerTokenService

public class CruxSynchronizerTokenServiceImpl
extends Object
implements CruxSynchronizerTokenService, CruxSynchronizerTokenHandler

Author:
Thiago da Rosa de Bustamante

Field Summary
 
Fields inherited from interface org.cruxframework.crux.core.shared.rpc.st.CruxSynchronizerTokenService
CRUX_SYNC_TOKEN_PARAM
 
Constructor Summary
CruxSynchronizerTokenServiceImpl()
           
 
Method Summary
 void endMethod(String methodFullSignature)
           
 String getMethodDescription(Method method)
           
 String getSynchronizerToken(String methodFullSignature)
           
 boolean isMethodRunning(String methodFullSignature)
           
 void setRequest(javax.servlet.http.HttpServletRequest request)
           
 void setSession(javax.servlet.http.HttpSession session)
           
 void startMethod(String methodFullSignature)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CruxSynchronizerTokenServiceImpl

public CruxSynchronizerTokenServiceImpl()
Method Detail

setRequest

public void setRequest(javax.servlet.http.HttpServletRequest request)
Specified by:
setRequest in interface RequestAware
See Also:
RequestAware.setRequest(javax.servlet.http.HttpServletRequest)

setSession

public void setSession(javax.servlet.http.HttpSession session)
Specified by:
setSession in interface SessionAware
Specified by:
setSession in interface CruxSynchronizerTokenHandler
See Also:
SessionAware.setSession(javax.servlet.http.HttpSession)

getSynchronizerToken

public String getSynchronizerToken(String methodFullSignature)
Specified by:
getSynchronizerToken in interface CruxSynchronizerTokenService
See Also:
CruxSynchronizerTokenService.getSynchronizerToken(java.lang.String)

isMethodRunning

public boolean isMethodRunning(String methodFullSignature)
Specified by:
isMethodRunning in interface CruxSynchronizerTokenHandler
See Also:
CruxSynchronizerTokenHandler.isMethodRunning(java.lang.String)

startMethod

public void startMethod(String methodFullSignature)
                 throws InvalidTokenException
Specified by:
startMethod in interface CruxSynchronizerTokenHandler
Throws:
InvalidTokenException
See Also:
org.cruxframework.crux.core.server.dispatch.st.CruxSynchronizerTokenHandler#startMethod(java.lang.String, javax.servlet.http.HttpServletRequest)

endMethod

public void endMethod(String methodFullSignature)
Specified by:
endMethod in interface CruxSynchronizerTokenHandler
See Also:
CruxSynchronizerTokenHandler.endMethod(java.lang.String)

getMethodDescription

public String getMethodDescription(Method method)
Specified by:
getMethodDescription in interface CruxSynchronizerTokenHandler
See Also:
CruxSynchronizerTokenHandler.getMethodDescription(java.lang.reflect.Method)


Copyright © 2014. All rights reserved.