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

SmartConnectionFactory (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

org.springframework.jms.connection
Interface SmartConnectionFactory

All Superinterfaces:
ConnectionFactory
All Known Implementing Classes:
DelegatingConnectionFactory

public interface SmartConnectionFactory
extends ConnectionFactory

Extension of the javax.jms.ConnectionFactory interface, indicating how to release Connections obtained from it.

Since:
2.0.2
Author:
Juergen Hoeller

Method Summary
 boolean shouldStop(Connection con)
          Should we stop the Connection, obtained from this ConnectionFactory?
 
Methods inherited from interface javax.jms.ConnectionFactory
createConnection, createConnection
 

Method Detail

shouldStop

boolean shouldStop(Connection con)
Should we stop the Connection, obtained from this ConnectionFactory?

Parameters:
con - the Connection to check
Returns:
whether a stop call is necessary
See Also:
Connection.stop()

The Spring Framework

Copyright © 2002-2007 The Spring Framework.