[Beepcore-java-users] The semantics of close()
Status: Beta
Brought to you by:
huston
From: Paul A. <paa...@ci...> - 2003-06-04 16:03:11
|
I've been thinking about how session.close() works and I'm not really comfortable with it. If I call close() on a session that is already closing I get an illegal state exception from it, yet I have no way of finding out if a session is in the process of closing or is already closed. This makes it difficult to write code that cleans up when it is through with a session. |