[
https://issues.apache.org/jira/browse/WINK-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nadav Fischer resolved WINK-83.
-------------------------------
Resolution: Fixed
This turned out to be quite the change.
Here's a summary of what was done:
- Added injections of fields and properties to Singletons. This constituted
some refactoring of the LifecycleManagers.
- Removed all constructor verification code from AbstractMetadataCollector and
surgically placed constructor verification in selected locations only
- Fix and add some unitests
- Changed the name of ClassMetadataPrototypeOF to PrototypeObjectFactory to
conform to the other object factories
- Fixed {{ResourceRecordFactory.getRecord(Object)}} method to distinguish
between a root resource and a sub-resource
Note that since the constructor validation was removed from the metadata
collector, it also provides a fix for WINK-10 so I'll mark that as resolved as
well.
> Singletons should be injected
> -----------------------------
>
> Key: WINK-83
> URL: https://issues.apache.org/jira/browse/WINK-83
> Project: Wink
> Issue Type: Bug
> Components: Common
> Affects Versions: 0.1
> Reporter: Bryant Luk
> Assignee: Nadav Fischer
> Fix For: 0.1
>
>
> I believe that objects returned from Application.getSingletons() should still
> be injected. See JavaDoc for Application.getSingletons().
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.