| java.lang.Object org.springframework.transaction.support.ResourceHolderSupport org.springframework.jms.connection.JmsResourceHolder
Constructor Summary | |
public | JmsResourceHolder() Create a new JmsResourceHolder that is open for resources to be added. | public | JmsResourceHolder(ConnectionFactory connectionFactory) Create a new JmsResourceHolder that is open for resources to be added. | public | JmsResourceHolder(Connection connection, Session session) Create a new JmsResourceHolder for the given JMS resources. | public | JmsResourceHolder(ConnectionFactory connectionFactory, Connection connection, Session session) Create a new JmsResourceHolder for the given JMS resources. |
JmsResourceHolder | public JmsResourceHolder(ConnectionFactory connectionFactory)(Code) | | Create a new JmsResourceHolder that is open for resources to be added.
Parameters: connectionFactory - the JMS ConnectionFactory that thisresource holder is associated with (may be null ) |
JmsResourceHolder | public JmsResourceHolder(Connection connection, Session session)(Code) | | Create a new JmsResourceHolder for the given JMS resources.
Parameters: connection - the JMS Connection Parameters: session - the JMS Session |
JmsResourceHolder | public JmsResourceHolder(ConnectionFactory connectionFactory, Connection connection, Session session)(Code) | | Create a new JmsResourceHolder for the given JMS resources.
Parameters: connectionFactory - the JMS ConnectionFactory that thisresource holder is associated with (may be null ) Parameters: connection - the JMS Connection Parameters: session - the JMS Session |
addConnection | final public void addConnection(Connection connection)(Code) | | |
addSession | final public void addSession(Session session)(Code) | | |
addSession | final public void addSession(Session session, Connection connection)(Code) | | |
closeAll | public void closeAll()(Code) | | |
commitAll | public void commitAll() throws JMSException(Code) | | |
containsSession | public boolean containsSession(Session session)(Code) | | |
getConnection | public Connection getConnection()(Code) | | |
getConnection | public Connection getConnection(Class connectionType)(Code) | | |
getSession | public Session getSession()(Code) | | |
getSession | public Session getSession(Class sessionType)(Code) | | |
getSession | public Session getSession(Class sessionType, Connection connection)(Code) | | |
isFrozen | final public boolean isFrozen()(Code) | | |
|
|