I2JAV 1.1 NO IDEA Avatar
  1. OMG Issue

I2JAV11 — Java mapping changes for core issue 4337

  • Key: I2JAV11-152
  • Legacy Issue Number: 4805
  • Status: closed  
  • Source: Oracle ( Ken Cavanaugh)
  • Summary:

    The recent passage of issue 4337 in the core RTF creates a need to update the Java
    mapping to include support for the _repository_id operation. Here is the proposed
    set of updates to the latest (unofficial) Java mapping specifiction (ptc/02-01-01):

    --------------------------------------------------------------

    In section 1.19.11, add the following method to Object after _get_interface_def:

    string _repository_id() ;

    In section 1.20.2.1, add the following method to LocalObject after _get_interface_def
    (this is the local interface part, I am assumming here that local interfaces
    support repository_id. If not, this should just throw a NO_IMPLEMENT exception):

    public String _repository_id()

    { String[] ids = _ids() ; return ids[0] ; }

    In section 1.20.2.2, add the following method to Servant after _get_interface_def:

    public String _repository_id()

    { return _get_delegate().repository_id(this) ; }

    Also in section 1.20.2.2, add the following paragraph after the section
    on _get_interface:

    _repository_id

    Servant provides a default implementation of _repository_id() that
    can be overridden by derived servants if the default behavior is
    not adequate. As defined in the CORBA 3.0 specification,
    section 11.3.1, the default behavior of _repository_id is to
    return the most derived interface of a static servant or the
    most derived interface retrieved from a dynamic servant.
    This behavior shall be supported by the Delegate that implements
    the servant.

    In section 1.21.6.3, add the following method to ObjectImpl after _get_interface_def():

    public String _repository_id() { return _get_delegate().repository_id(this) ; }

    In section 1.21.7, add the following method to Delegate after get_interface_def:

    public abstract String repository_id(
    org.omg.CORBA.Object self) ;

    In section 1.21.8, add the following method to Delegate after get_interface_def:

    String repository_id( Servant self ) ;

  • Reported: I2JAV 1.0 — Mon, 14 Jan 2002 05:00 GMT
  • Disposition: Resolved — I2JAV 1.1
  • Disposition Summary:

    Incorporate changes and close issue

  • Updated: Sun, 8 Mar 2015 18:39 GMT