That's great, thanks a lot!

On 04.01.2013 15:17, Tobias Mattsson (via Magnolia Forums) wrote:
Hi,

This has been implemented in http://jira.magnolia-cms.com/browse/MAGNOLIA-4760 we now support @PostConstruct. Code changes have been applied to both 5.0 and 4.5 branches meaning it will be released in 4.5.8.

Should you need this functionality before you're able to upgrade its possible to do the same with a custom configurer by configuring it in your module descriptor like this:

<module>
<components>
<id>main
<configurer>
<class>CustomJsr250Configurer

Where the custom configured would be:

public class CustomJsr250Configurer extends AbstractGuiceComponentConfigurer {

    @Override
    protected void configure() {
        install(Jsr250.newJsr250Module());
    }
}

// Tobias






----------------------------------------------------------------
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]>
----------------------------------------------------------------

Reply via email to