To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=75053
Issue #|75053
Summary|Language binding support for service contstructors
Component|udk
Version|current
Platform|All
URL|
OS/Version|All
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|ENHANCEMENT
Priority|P3
Subcomponent|code
Assigned to|sb
Reported by|sb
------- Additional comments from [EMAIL PROTECTED] Fri Mar 2 09:39:36 +0000
2007 -------
UNO "new style" service constructors
service S: X { ctor([in] T1 a1, ...) raises (E1, E2); };
are currently a thin wrapper around
com.sun.star.lang.XMultiComponentFactory.createInstanceWith[ArgumentsAnd]Context,
where the Arguments-version internally uses com.sun.star.lang.XInitialization.
That has at least two drawbacks:
1 Multiple constructors need to have different argument signatures (this is
even enforced in UNOIDL and idlc), so that the service implementation can
discriminate the various constructors.
2 XInitialization is called on a completed object, so implementations need to
take care of their potentially half-initialized state, which makes them more
complex than necessary.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]