Hi, I want to make an @Named @ApplicationScoped bean eagerly load, like the
equivalent of
the EJB @Startup annotation, but I can't figure out how to do it. I saw
something that suggested
that I needed a method like this, but it doesn't seem to work:

protected void eagerlyLoad(@Observes StartupEvent startupEvent) {
}

I understand that the CDI spec is somewhat vague about this, hence looking
to CODI for a
solution.

Thanks for any help.
-- 
View this message in context: 
http://old.nabble.com/CODI-%40ApplicationScoped-bean-eager-loading--tp32898071p32898071.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to