[forge-dev] non-CDI object hook into CDI

Thomas Frühbeck fruehbeck at aon.at
Tue Jan 8 02:31:03 EST 2013


Thanks Lincoln, I knew I had seen that somewhere already, obviously my 
weak reference got pushed out reading those other frameworks
:-)

Am 08.01.2013 04:27, schrieb Lincoln Baxter, III:
> Hey Thomas, you should take a look at the BeanManagerProvider API that 
> was in Seam Solder: 
> https://github.com/seam/solder/blob/develop/api/src/main/java/org/jboss/solder/beanManager/BeanManagerLocator.java#L82 
> This approach has been used a bunch of times. Including Solder 
> shouldn't be too intrusive. You could also just copy that particular 
> feature.
>
>
> On Mon, Jan 7, 2013 at 8:15 PM, George Gastaldi <ggastald at redhat.com 
> <mailto:ggastald at redhat.com>> wrote:
>
>     I'd say you may want to use @Produces and Extensions where applicable
>
>     Em 07/01/2013, às 19:51, Thomas Frühbeck <fruehbeck at aon.at
>     <mailto:fruehbeck at aon.at>> escreveu:
>
>     > Hi,
>     > I have objects under control of a non-CDI framework and want to hook
>     > into CDI.
>     >
>     > What is the shortest / most elegant / best way hook into CDI
>     _aside_ of
>     > (BeanManager) InitialContext.lookup()?
>     >
>     > Thanks,
>     > Thomas
>     > _______________________________________________
>     > forge-dev mailing list
>     > forge-dev at lists.jboss.org <mailto:forge-dev at lists.jboss.org>
>     > https://lists.jboss.org/mailman/listinfo/forge-dev
>
>     _______________________________________________
>     forge-dev mailing list
>     forge-dev at lists.jboss.org <mailto:forge-dev at lists.jboss.org>
>     https://lists.jboss.org/mailman/listinfo/forge-dev
>
>
>
>
> -- 
> Lincoln Baxter, III
> http://ocpsoft.org
> "Simpler is better."
>
>
> _______________________________________________
> forge-dev mailing list
> forge-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20130108/b9b1e7f8/attachment-0001.html 


More information about the forge-dev mailing list