接口 SmartConnectionFactory
- 所有超级接口:
ConnectionFactory
- 所有已知实现类:
DelegatingConnectionFactory
public interface SmartConnectionFactory extends ConnectionFactory
Extension of thejavax.jms.ConnectionFactory
interface, indicating how to release Connections obtained from it.- 从以下版本开始:
- 2.0.2
- 作者:
- Juergen Hoeller
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 boolean
shouldStop(Connection con)
Should we stop the Connection, obtained from this ConnectionFactory?从接口继承的方法 javax.jms.ConnectionFactory
createConnection, createConnection
方法详细资料
shouldStop
boolean shouldStop(Connection con)
Should we stop the Connection, obtained from this ConnectionFactory?- 参数:
con
- the Connection to check- 返回:
- whether a stop call is necessary
- 另请参阅:
Connection.stop()