deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Struberg <strub...@yahoo.de>
Subject Re: Eager Instantiation
Date Tue, 16 Jul 2013 07:06:45 GMT


AfterDeploymentValidation is too early.

You can get Contextual References out of the BeanManager at this point in time, but since
the Contexts are not yet guaranteed to be started (as per spec) you must not invoke any method
on it.

LieGrue,
strub




________________________________
From: Harald Wellmann <hwellmann.de@gmail.com>
To: deltaspike-users@incubator.apache.org 
Sent: Monday, 15 July 2013, 16:31
Subject: Eager Instantiation


Does DeltaSpike include support for eager instantiation of
@ApplicationScoped beans?

E.g. like https://gist.github.com/mojavelinux/635719/

The following discussion is related:
http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/Startup-like-td4653932.html

I'm just wondering if a solution has found its way into the codebase yet...

Best regards,
Harald

Mime
View raw message