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

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=0ba1f736-205b-418d-8b3e-b3a95694196e


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