org.springframework.jms.connection
Interface SmartConnectionFactory
- All Superinterfaces:
- javax.jms.ConnectionFactory
- All Known Implementing Classes:
- DelegatingConnectionFactory
public interface SmartConnectionFactory
- extends javax.jms.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(javax.jms.Connection con)
Should we stop the Connection, obtained from this ConnectionFactory? |
Methods inherited from interface javax.jms.ConnectionFactory |
createConnection, createConnection |
shouldStop
boolean shouldStop(javax.jms.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()