org.jboss.jms.client.container
Class ClientIDInterceptor
java.lang.Object
org.jboss.jms.client.container.ClientIDInterceptor
- public class ClientIDInterceptor
- extends java.lang.Object
An interceptor for checking the client id.
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 |
ClientIDInterceptor
public ClientIDInterceptor()
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