I2JAV 1.1 NO IDEA Avatar
  1. OMG Issue

I2JAV11 — local interface mapping underspecified

  • Key: I2JAV11-140
  • Legacy Issue Number: 4323
  • Status: closed  
  • Source: Oracle ( Harold Carr)
  • Summary:

    The IDL-to-Java ptc/00-11-03 specification says that an implementation
    of a local interface would extend org.omg.CORBA.LocalObject instead of
    org.omg.CORBA.Object. This is underspecified. It does not say
    anything about the generated classes for a local interface, their
    relationships, nor which one should be implemented by an
    implementation. This MUST be specified for local interface
    implementations to be portable.

    I suggest for local interface X the following generated classes:

    interface X extends XOperations, org.omg.CORBA.Object

    This is similar to a non-local mapping except that it does not extend
    org.omg.CORBA.portable.IDLEntity. Although that would not hurt
    anything it is not necessary since a local interface cannot be
    marshaled.

    I suggest the following specification for implementations of local interfaces:

    class XImpl
    extends org.omg.CORBA.LocalObject
    implements X

    An instance would be create using the usual language construct:

    XImpl x = new XImpl(...);

    The above must be specified just like the current spec says what to do
    with a POA-based implementation of a non-local interface, e.g.,:

    class YImpl extends YPOA

  • Reported: I2JAV 1.0 — Fri, 25 May 2001 04:00 GMT
  • Disposition: Resolved — I2JAV 1.1
  • Disposition Summary:

    see below

  • Updated: Fri, 6 Mar 2015 21:38 GMT