deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (Commented) (JIRA)" <>
Subject [jira] [Commented] (DELTASPIKE-121) add a method to inject CDI beans in a particular instance
Date Mon, 19 Mar 2012 08:48:02 GMT


Mark Struberg commented on DELTASPIKE-121:

+1 for thinking about where to place this.

But please note that just filling the injection points doesn't yet give you a fully working
CDI bean.

The filled bean will _not_ have any proxies nor will it's lifecycle be managed by the CDI
container. Nothing to worry, but we should document it properly.
> add a method to inject CDI beans in a particular instance
> ---------------------------------------------------------
>                 Key: DELTASPIKE-121
>                 URL:
>             Project: DeltaSpike
>          Issue Type: New Feature
>            Reporter: Romain Manni-Bucau
>            Assignee: Gerhard Petracek
> It could be cool to get a method accessible from the CdiContainer to do injections in
a particular instance:
> cdiContainer.resolveInjections(instance);+
> It is particularly nice in unit tests.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message