+1 Richie
Von: [email protected] [mailto:[email protected]] Im Auftrag von Jörg von Frantzius Gesendet: Freitag, 07. Dezember 2012 19:05 An: Magnolia User List Betreff: [magnolia-user] Support for @PostConstruct and @PreDestroy? Hi, according to these issues, support for JSR-250 annotations @PostConstruct and @PreDestroy was dropped because of bugs in the Guice support library mycila: * http://jira.magnolia-cms.com/browse/SCRUM-872 * http://jira.magnolia-cms.com/browse/SCRUM-1041 * http://jira.magnolia-cms.com/browse/MAGNOLIA-4294<http://jira.magnolia-cms.com/browse/MAGNOLIA-4294?focusedCommentId=54737#action_54737> All of the mycila bugs mentioned in MAGNOLIA-4294<http://jira.magnolia-cms.com/browse/MAGNOLIA-4294> were marked as fixed and deployed in the meantime. IMHO it would be great to have @PostConstruct and @PreDestroy annotations, maybe it would be possible to have a second look at this? Without @PostConstruct, the value of IoC in Magnolia is severly diminished, as e.g. one has to restrict oneself to constructor-dependency-injection. I also remember having had cases of subtle problems with field initialization order that required some initialization to execute post construction. Even if Magnolia themselves don't make use of it so far, other companies certainly will have use for it in their projects (at least we would :-) This would certainly make life a bit easier for your community! Regards, Jörg -- Dipl. inf. Jörg von Frantzius, System Architect Email mailto:[email protected] Phone +49 30 283921-318 Fax +49 30 283921-29 Aperto AG - In der Pianofabrik Chausseestraße 5, D-10115 Berlin-Mitte http://www.aperto.de http://www.facebook.com/aperto https://www.xing.com/companies/apertoag HRB 77049, AG Berlin Charlottenburg Vorstand: Dirk Buddensiek (Vorsitzender), Kai Großmann, Stephan Haagen Aufsichtsrat: Bernd Hardes (Vorsitzender) ________________________________ ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]<mailto:[email protected]>> ---------------------------------------------------------------- ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
