Dan Haywood created ISIS-1009:
---------------------------------
Summary: Call a @PostConstruct callback for view models
Key: ISIS-1009
URL: https://issues.apache.org/jira/browse/ISIS-1009
Project: Isis
Issue Type: Improvement
Components: Core
Affects Versions: core-1.7.0
Reporter: Dan Haywood
Assignee: Dan Haywood
Priority: Minor
Fix For: core-1.8.0
For view models that directly implement ViewModel interface, their
viewModelInit(...) method is called and so they have a hook to do any
additional initialization, eg looking up objects etc
But for view models that are annotated using @ViewModel, these have no such
hook.
Suggest that we honour @PostConstruct annotation for all view models, as a
consistent hook.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)