From users-return-60337-apmail-myfaces-users-archive=myfaces.apache.org@myfaces.apache.org Mon Nov 26 11:01:07 2012 Return-Path: X-Original-To: apmail-myfaces-users-archive@www.apache.org Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1A61ED0E6 for ; Mon, 26 Nov 2012 11:01:07 +0000 (UTC) Received: (qmail 83817 invoked by uid 500); 26 Nov 2012 11:01:06 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 82952 invoked by uid 500); 26 Nov 2012 11:01:00 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 82887 invoked by uid 99); 26 Nov 2012 11:00:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2012 11:00:59 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [217.70.183.195] (HELO relay3-d.mail.gandi.net) (217.70.183.195) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2012 11:00:50 +0000 X-Originating-IP: 217.70.178.132 Received: from mfilter5-d.gandi.net (mfilter5-d.gandi.net [217.70.178.132]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id 0FA12A80C3 for ; Mon, 26 Nov 2012 12:00:30 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter5-d.gandi.net Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by mfilter5-d.gandi.net (mfilter5-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id JMllxRP49ie1 for ; Mon, 26 Nov 2012 12:00:28 +0100 (CET) X-Originating-IP: 209.85.212.53 Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com [209.85.212.53]) (Authenticated sender: laurent@cottereau.name) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 0C8A6A808A for ; Mon, 26 Nov 2012 12:00:27 +0100 (CET) Received: by mail-vb0-f53.google.com with SMTP id b23so7079566vbz.12 for ; Mon, 26 Nov 2012 03:00:26 -0800 (PST) Received: by 10.220.156.77 with SMTP id v13mr18062729vcw.62.1353927626829; Mon, 26 Nov 2012 03:00:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.58.236.72 with HTTP; Mon, 26 Nov 2012 02:59:46 -0800 (PST) From: Laurent Cottereau Date: Mon, 26 Nov 2012 11:59:46 +0100 Message-ID: Subject: Injection into filters with Tomcat To: users@myfaces.apache.org Content-Type: multipart/alternative; boundary=f46d043c7c6a3fb10f04cf63d7a7 X-Virus-Checked: Checked by ClamAV on apache.org --f46d043c7c6a3fb10f04cf63d7a7 Content-Type: text/plain; charset=ISO-8859-1 Hello, I have been trying without success to inject an EntityManager into a Filter on Tomcat 6. Is that supposed to be possible with CODI ? If so, is there anything special I should look into ? Is @Advanced the correct annotation I should use on the filter ? Thank you in advance for any help you will be able to provide me, -- Laurent Cottereau laurent@cottereau.name http://laurent.cottereau.name --f46d043c7c6a3fb10f04cf63d7a7--