-
Key: CORBA35-204
-
Legacy Issue Number: 6318
-
Status: open
-
Source: Progress Software ( Steve Vinoski)
-
Summary:
The spec appears silent as to whether valuetypes are allowed to support local interfaces. Table 3-10, for example, says nothing at all about local interfaces.
There's a couple ways to look at this. First, valuetypes are not CORBA objects. Servants for local interfaces are direct CORBA object instances, i.e., the "local" declaration on an interface effectively removes the distinction between a CORBA object and its servant. If a valuetype were used as a servant for a local object, then the valuetype would itself also be a CORBA object. By this analysis, valuetypes should not be allowed to support local interfaces.
Another way to look at it is that the valuetype should just inherit the local interface's operations and attributes without having any subtype/subclass relationship with the base local interface. This would be a rather pointless approach to take, is there would be no possibility of using the valuetype polymorphically with respect to the base local interface.
-
Reported: CORBA 3.0.2 — Thu, 16 Oct 2003 04:00 GMT
-
Updated: Thu, 11 Jan 2024 17:38 GMT