|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.logicblaze.lingo.jms.marshall.AcegiHeaderMarshaller
public class AcegiHeaderMarshaller
Ageci header marshaller which propagates the clients principal as a thread local
variable on the server. A method executing on the server can obtain this information by calling
ClientContextHolder.getUserName()
ClientContextHolder
Constructor Summary | |
---|---|
AcegiHeaderMarshaller()
|
Method Summary | |
---|---|
void |
addResponseMessageHeaders(javax.jms.ObjectMessage answer,
org.springframework.remoting.support.RemoteInvocationResult result,
javax.jms.Message requestMessage)
A strategy for derived classes to allow them to plug in custom header processing for responses |
void |
appendMessageHeaders(javax.jms.Message message,
Requestor requestor,
LingoInvocation invocation)
A strategy method for derived classes to allow them a plugin point to perform custom header processing. |
void |
appendMessageHeaders(javax.jms.Message message,
javax.jms.Session session,
java.lang.Object value)
|
void |
handleInvocationHeaders(javax.jms.Message message)
A strategy method to allow derived classes to process the headers in a special way. |
void |
handleInvocationResultHeaders(javax.jms.Message message)
A strategy method to allow derived classes to process the headers in a special way |
void |
handleMessageHeaders(javax.jms.Message message)
A strategy method to allow derived classes to process the headers in a special way |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AcegiHeaderMarshaller()
Method Detail |
---|
public void appendMessageHeaders(javax.jms.Message message, Requestor requestor, LingoInvocation invocation) throws javax.jms.JMSException
HeaderMarshaller
appendMessageHeaders
in interface HeaderMarshaller
javax.jms.JMSException
public void appendMessageHeaders(javax.jms.Message message, javax.jms.Session session, java.lang.Object value)
appendMessageHeaders
in interface HeaderMarshaller
public void addResponseMessageHeaders(javax.jms.ObjectMessage answer, org.springframework.remoting.support.RemoteInvocationResult result, javax.jms.Message requestMessage) throws javax.jms.JMSException
HeaderMarshaller
addResponseMessageHeaders
in interface HeaderMarshaller
javax.jms.JMSException
public void handleInvocationHeaders(javax.jms.Message message)
HeaderMarshaller
handleInvocationHeaders
in interface HeaderMarshaller
public void handleInvocationResultHeaders(javax.jms.Message message)
HeaderMarshaller
handleInvocationResultHeaders
in interface HeaderMarshaller
public void handleMessageHeaders(javax.jms.Message message)
HeaderMarshaller
handleMessageHeaders
in interface HeaderMarshaller
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |