Issue 117551 - basic: new style default service constructors should use createInstanceWithContext
Summary: basic: new style default service constructors should use createInstanceWithCo...
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: version58
Hardware: PC All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-25 14:30 UTC by jsc
Modified: 2017-05-20 11:33 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description jsc 2011-03-25 14:30:58 UTC
The support of new style service constructors in Basic should differentiate between default constructors and constructors with no arguments.

In case of a default constructor the support XInitialization is not not required at the component impl. Whereas for explicit constructors without parameters the implementation of XInitialization is required. Basic should check if it is the default constructor and should call 'createInstanceWithContext' instead of 'createInstanceWithArgumentsAndcontext'.

The different factory helpers in C++ and Java handle it currently differently which is not optimal as well. We should unify the implementations here as well but Basic should take care of this anyway.
Comment 1 Oliver-Rainer Wittmann 2012-06-13 12:17:14 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.
Comment 2 Marcus 2017-05-20 11:33:36 UTC
Reset assigne to the default "issues@openoffice.apache.org".