Legacy Issue Number: 6318
Source: Progress Software ( Steve Vinoski)
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: Wed, 1 Feb 2023 21:59 GMT
CORBA35 — valuetypes and local interfaces
- Key: CORBA35-204
- OMG Task Force: CORBA 3.5 RTF