站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.0.5 API 文档英文版

SessionProxy (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版

The Spring Framework

org.springframework.jms.connection
Interface SessionProxy

All Superinterfaces:
Runnable, Session

public interface SessionProxy
extends Session

Subinterface of 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

Field Summary
 
Fields inherited from interface javax.jms.Session
AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE, SESSION_TRANSACTED
 
Method Summary
 Session getTargetSession()
          Return the target Session of this proxy.
 
Methods inherited from interface javax.jms.Session
close, commit, createBrowser, createBrowser, createBytesMessage, createConsumer, createConsumer, createConsumer, createDurableSubscriber, createDurableSubscriber, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createProducer, createQueue, createStreamMessage, createTemporaryQueue, createTemporaryTopic, createTextMessage, createTextMessage, createTopic, getAcknowledgeMode, getMessageListener, getTransacted, recover, rollback, run, setMessageListener, unsubscribe
 

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)

The Spring Framework

Copyright © 2002-2007 The Spring Framework.