|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides a uniform interface that can be used to close all the JMS obejcts that provide a close() method. Useful for when you want to collect a heterogeous set of JMS object in a collection to be closed at a later time.
Method Summary | |
void |
close()
Closes a JMS object. |
Method Detail |
public void close() throws JMSException
Many JMS objects are closeable such as Connections, Sessions, Consumers and Producers.
JMSException
- if the JMS provider fails to close the object due to
some internal error.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |