using doneWith() on corba object

David Delbecq <[email protected]> Tue, 30 Aug 2005 16:12:11 +0200
Newsgroups gmane.comp.java.enhydra.shark
Organization Institut Royal Météorologique
Message-ID <[email protected]>
Hello everyone.

What is the purpose of the doneWith() method on the varioux shark corba
objects. Am i supposed to free all objets i get using z=y.getXXXX() by calling y.doneWith(z);

Or am i supposed not to touch it?
Using it on sharkconnection seems to raise a CORBA exception:
if (sharkConnection !=null) {
			try {
				if (resource!=null)
					sharkConnection.doneWith(resource);
				sharkConnection.disconnect();
				workflowServer.doneWith(sharkConnection);
			} catch (BaseException e) {
				throw new JspException(e);
			} catch (NotConnected e) {
				throw new JspException(e);
			} 
		}

workflowServer.doneWith(sharkConnection); does throw exception while
sharkConnection.doneWith(resource); works well.

-- 
David Delbecq
Royal Meteorological Institute of Belgium

-
Is there life after /sbin/halt -p?
message-footer.txt (text/plain, 271 B)
--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws