org.springframework.jms.connection
Class TransactionAwareConnectionFactoryProxy.TransactionAwareConnectionInvocationHandler

java.lang.Object
  extended by org.springframework.jms.connection.TransactionAwareConnectionFactoryProxy.TransactionAwareConnectionInvocationHandler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler
Enclosing class:
TransactionAwareConnectionFactoryProxy

private class TransactionAwareConnectionFactoryProxy.TransactionAwareConnectionInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler

Invocation handler that exposes transactional Sessions for the underlying Connection.


Field Summary
private  Connection target
           
 
Constructor Summary
TransactionAwareConnectionFactoryProxy.TransactionAwareConnectionInvocationHandler(Connection target)
           
 
Method Summary
private  Session getCloseSuppressingSessionProxy(Session target)
           
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

target

private final Connection target
Constructor Detail

TransactionAwareConnectionFactoryProxy.TransactionAwareConnectionInvocationHandler

public TransactionAwareConnectionFactoryProxy.TransactionAwareConnectionInvocationHandler(Connection target)
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable

getCloseSuppressingSessionProxy

private Session getCloseSuppressingSessionProxy(Session target)