public class CubaRemoteInvocationExecutor
extends java.lang.Object
implements org.springframework.remoting.support.RemoteInvocationExecutor
CubaRemoteInvocation on middleware, setting and clearing a SecurityContext in the request
handling thread.| Modifier and Type | Field and Description |
|---|---|
protected Configuration |
configuration |
protected GlobalConfig |
globalConfig |
protected ServerSelector |
serverSelector |
protected UserSessionsAPI |
userSessions |
| Constructor and Description |
|---|
CubaRemoteInvocationExecutor() |
| Modifier and Type | Method and Description |
|---|---|
protected ServerSelector |
getServerSelector(java.lang.String sessionProviderUrl) |
java.lang.Object |
invoke(org.springframework.remoting.support.RemoteInvocation invocation,
java.lang.Object targetObject) |
protected volatile ServerSelector serverSelector
protected UserSessionsAPI userSessions
protected Configuration configuration
protected GlobalConfig globalConfig
public java.lang.Object invoke(org.springframework.remoting.support.RemoteInvocation invocation,
java.lang.Object targetObject)
throws java.lang.NoSuchMethodException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
invoke in interface org.springframework.remoting.support.RemoteInvocationExecutorjava.lang.NoSuchMethodExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionprotected ServerSelector getServerSelector(java.lang.String sessionProviderUrl)