org.jboss.jms.client.container
Class ClientIDInterceptor

java.lang.Object
  extended byorg.jboss.jms.client.container.ClientIDInterceptor

public class ClientIDInterceptor
extends java.lang.Object

An interceptor for checking the client id.


Constructor Summary
ClientIDInterceptor()
           
 
Method Summary
protected  void addClientID(Invocation invocation)
          Add the client id or piggy back the request for a client id on this invocation
 java.lang.String getName()
           
 java.lang.Object invoke(Invocation invocation)
           
protected  void setClientID(Invocation invocation)
          Set the client id
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientIDInterceptor

public ClientIDInterceptor()
Method Detail

getName

public java.lang.String getName()

invoke

public java.lang.Object invoke(Invocation invocation)
                        throws java.lang.Throwable
Throws:
java.lang.Throwable

addClientID

protected void addClientID(Invocation invocation)
                    throws java.lang.Throwable
Add the client id or piggy back the request for a client id on this invocation

Parameters:
invocation - the invocation
Throws:
java.lang.Throwable

setClientID

protected void setClientID(Invocation invocation)
                    throws java.lang.Throwable
Set the client id

Parameters:
invocation - the invocation
Throws:
java.lang.Throwable