Issue 2812: Callbacks cannot be implemented using DSI (messaging-rtf) Source: IONA (Mr. Matthew Mihic, ) Nature: Severity: Summary: Exceptions are sent as type-specific valuetypes to callback objects. This prevents callback objects from being implemented using the DSI for several reasons. 1. Given the information available to the callback (the interface RepositoryID and method name), there is no way to determine the RepositoryID or TypeCode of the type-specific exception holder. This prevents the callback from correctly establishing the NVList passed to ServerRequest::arguments(). 2. The ORB in which the callback is implemented must contain a value factory capable of instantiating the correct type-specific valuetype. This requires that the application know which exception holder valuetypes are expected ahead of time, so that it can register factories appropriately. It may also require that the application be linked with the generated code for the type-specific exception holder. 3. There is no generic way to retrieve the exception from the exception holder -- you can only raise the exception by calling a type-specific method on the type-specific valuetype instance. This requires that the callback be programmed and linked against the type-specific exception holder. Resolution: This issue is resolved by the proposed resolution for 2929 Revised Text: Actions taken: July 19, 1999: received issue May 13, 2002: closed issue Discussion: End of Annotations:===== Date: Tue, 18 Dec 2001 15:18:51 -0500 From: Jishnu Mukerji Organization: Hewlett-Packard Company X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: orb_revision@omg.org Subject: Proposed resolution for 2812 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-UIDL: ]b>e9Jmpd9k>_d9>9fd9 The following resolution for this issue will appear on the next vote unless there is significant technical objection. Jishnu. ________________________________________________________________________________ Issue 2812: Callbacks cannot be implemented using DSI (messaging-rtf) Source: IONA (Mr. Matthew Mihic, mmihic@iona.com ) Nature: Severity: Summary: See http://cgi.omg.org/issues/issue2812 for summary and archive. Resolution: This issue is resolved by the proposed resolution for 2929 Revised Text: Actions taken: Close this issue if the resolution for 2929 is recommended for adoption.