Builder Factory should allow for a flag to skip Required annotation checks

Description

To allow the user to turn of annotation checks of a particular service, builder factory should allow for a "skip-null-checks" attribute in the construct element:

<service-point id="SomeID" interface="some.Interface">
<invoke-factory>
<construct class="some.Class " skip-null-checks="true"/>
</invoke-factory>
</service-point>

Environment

None

Activity

Show:
JohanL
November 3, 2009, 2:53 PM

it probably makes sense to specify this flag as "perform-null-checks" which defaults to true - as is done with "autowire-services"

JohanL
November 3, 2009, 2:58 PM

The following is added:

<service-point id="SomeID" interface="some.Interface">
<invoke-factory>
<construct class="some.Class " perform-null-checks="false"/>
</invoke-factory>
</service-point>

This now specifies that null checks should be turned off

JohanL
November 3, 2009, 3:10 PM

Added and docs updated

Assignee

JohanL

Reporter

JohanL

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure