org.springframework.jms.connection
Class TransactionAwareConnectionFactoryProxy.CloseSuppressingSessionInvocationHandler
java.lang.Object
org.springframework.jms.connection.TransactionAwareConnectionFactoryProxy.CloseSuppressingSessionInvocationHandler
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler
- Enclosing class:
- TransactionAwareConnectionFactoryProxy
private static class TransactionAwareConnectionFactoryProxy.CloseSuppressingSessionInvocationHandler
- extends java.lang.Object
- implements java.lang.reflect.InvocationHandler
Invocation handler that suppresses close calls for a transactional JMS Session.
Field Summary |
private Session |
target
|
Method Summary |
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 |
target
private final Session target
TransactionAwareConnectionFactoryProxy.CloseSuppressingSessionInvocationHandler
public TransactionAwareConnectionFactoryProxy.CloseSuppressingSessionInvocationHandler(Session target)
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