org.clazzes.remoting.beans
Class OpenClientSessionInterceptor
java.lang.Object
org.clazzes.remoting.beans.OpenClientSessionInterceptor
- All Implemented Interfaces:
- org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
public class OpenClientSessionInterceptor
- extends java.lang.Object
- implements org.aopalliance.intercept.MethodInterceptor
This interceptor bind a remote session and a client to the current thread upon
the end of a method invocation.
In order to use this class you need to use the optional spring dependency or
use aopalliance-1.0
- Author:
- wglas
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_SESSION_CONTEXT_SUBSYTEM
public static final java.lang.String DEFAULT_SESSION_CONTEXT_SUBSYTEM
- See Also:
- Constant Field Values
OpenClientSessionInterceptor
public OpenClientSessionInterceptor()
makeClientHolder
protected ClientHolder makeClientHolder(Client client)
invoke
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
throws java.lang.Throwable
- Specified by:
invoke
in interface org.aopalliance.intercept.MethodInterceptor
- Throws:
java.lang.Throwable
getClientManager
public ClientManager getClientManager()
- Returns:
- the clientManager
setClientManager
public void setClientManager(ClientManager clientManager)
- Parameters:
clientManager
- the clientManager to set
getSessionContextSubSystem
public java.lang.String getSessionContextSubSystem()
- Returns:
- the sessionContextSubSystem
setSessionContextSubSystem
public void setSessionContextSubSystem(java.lang.String sessionContextSubSystem)
- Parameters:
sessionContextSubSystem
- the sessionContextSubSystem to set
getSessionAuthenticator
public SessionAuthenticator getSessionAuthenticator()
- Returns:
- The authenticator used to generate authentication metadat for the server.
setSessionAuthenticator
public void setSessionAuthenticator(SessionAuthenticator sessionAuthenticator)
- Parameters:
sessionAuthenticator
- The session authenticator to set.
Copyright © 2010. All Rights Reserved.