Skip to main content

How do I release a Java CORBA proxy after I am finished using it?

  • May 17, 2013
  • 0 replies
  • 0 views

Summary How do I release a Java CORBA proxy after I am finished using it?
Article Number 17374
Environment All Supported Operating Systems Orbix Java Runtime Orbix 6.3
Question/Problem Description How do I release a Java  CORBA proxy after I am finished using it?
Do I need to call release() on Java CORBA proxy after I am finished using it?
How can I destroy or remove a Java CORBA Proxy after I have finished using it?
Clarifying Information
Error Message
Defect/Enhancement Number
Cause
Resolution

The parent object of any CORBA Proxy object org.omg.CORBA.Object contains a "release()" method. However Orbix's Java implementation of this method is empty. The application is not required to call any methods on the CORBA proxy to destroy/release the CORBA proxy. When the CORBA proxy is no longer referrenced by the application the proxy and all it associated objects will be eligible for garbage collection. 

For further details of org.omg.CORBA.Object  please see "CORBA Programmer's Guide, Java" "Object Reference Operations".

Workaround
Notes
Attachment
Created date: 06 September 2011
Last Modified: 13 February 2013
Last Published: 23 June 2012
First Published date: 10 September 2011

#Orbix
#KnowledgeDocs