org.springframework.jms.connection
Interface SessionProxy


public interface SessionProxy

Subinterface of javax.jms.Session to be implemented by Session proxies. Allows access to the the underlying target Session.

Since:
2.0.4
Author:
Juergen Hoeller
See Also:
TransactionAwareConnectionFactoryProxy, CachingConnectionFactory, ConnectionFactoryUtils#getTargetSession(javax.jms.Session)

Method Summary
 Session getTargetSession()
          Return the target Session of this proxy.
 

Method Detail

getTargetSession

Session getTargetSession()
Return the target Session of this proxy.

This will typically be the native provider Session or a wrapper from a session pool.

Returns:
the underlying Session (never null)