org.ow2.easybeans.component.audit.rmi.interceptor.jrmp
Class ClientInterceptor

java.lang.Object
  extended by org.ow2.easybeans.component.audit.rmi.interceptor.jrmp.ClientInterceptor
All Implemented Interfaces:
Serializable, org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInterceptor

public class ClientInterceptor
extends Object
implements org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInterceptor

Manages Audit ID propagation on the client's side. (only send request)

Author:
Florent Benoit
See Also:
Serialized Form

Constructor Summary
ClientInterceptor()
          Default Constructor.
 
Method Summary
 String name()
          Gets the name of this interceptor.
 void receive_exception(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
          Receive exception interception.
 void receive_other(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
          Receive other interception.
 void receive_reply(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
          No receive.
 void send_poll(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
          Send client context in pool.
 void send_request(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jClientRequestInfo)
          Send client context with the request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientInterceptor

public ClientInterceptor()
Default Constructor.

Method Detail

send_request

public void send_request(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jClientRequestInfo)
                  throws IOException
Send client context with the request.

Specified by:
send_request in interface org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInterceptor
Parameters:
jClientRequestInfo - jri the jrmp client info
Throws:
IOException - if an exception occur with the ObjectOutput

name

public String name()
Gets the name of this interceptor.

Specified by:
name in interface org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInterceptor
Returns:
name of the interceptor

receive_reply

public void receive_reply(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
                   throws IOException
No receive.

Specified by:
receive_reply in interface org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInterceptor
Parameters:
jri - the jrmp client info
Throws:
IOException - if an exception occur with the ObjectOutput

send_poll

public void send_poll(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
               throws IOException
Send client context in pool.

Specified by:
send_poll in interface org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInterceptor
Parameters:
jri - the jrmp client info
Throws:
IOException - if an exception occur with the ObjectOutput

receive_exception

public void receive_exception(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
                       throws IOException
Receive exception interception.

Specified by:
receive_exception in interface org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInterceptor
Parameters:
jri - the jrmp client info
Throws:
IOException - if an exception occur with the ObjectOutput

receive_other

public void receive_other(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
                   throws IOException
Receive other interception.

Specified by:
receive_other in interface org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInterceptor
Parameters:
jri - the jrmp client info
Throws:
IOException - if an exception occur with the ObjectOutput


Copyright © 2006-2011 OW2 Consortium. All Rights Reserved.