Interface SmartConnectionFactory
- All Superinterfaces:
- jakarta.jms.ConnectionFactory
- All Known Implementing Classes:
- DelegatingConnectionFactory
public interface SmartConnectionFactory
extends jakarta.jms.ConnectionFactory
Extension of the 
jakarta.jms.ConnectionFactory interface,
indicating how to release Connections obtained from it.- Since:
- 2.0.2
- Author:
- Juergen Hoeller
- 
Method SummaryModifier and TypeMethodDescriptionbooleanshouldStop(jakarta.jms.Connection con) Should we stop the Connection, obtained from this ConnectionFactory?Methods inherited from interface jakarta.jms.ConnectionFactorycreateConnection, createConnection, createContext, createContext, createContext, createContext
- 
Method Details- 
shouldStopboolean shouldStop(jakarta.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:
 
 
-