deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (Commented) (JIRA)" <j...@apache.org>
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

    [ https://issues.apache.org/jira/browse/DELTASPIKE-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232509#comment-13232509
] 

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: https://issues.apache.org/jira/browse/DELTASPIKE-121
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message