Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-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 34A6DEC19 for ; Tue, 12 Mar 2013 09:39:07 +0000 (UTC) Received: (qmail 17983 invoked by uid 500); 12 Mar 2013 09:27:13 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 17905 invoked by uid 500); 12 Mar 2013 09:27:12 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 17789 invoked by uid 99); 12 Mar 2013 09:27:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Mar 2013 09:27:08 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of lehswe@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Mar 2013 09:27:03 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UFLTn-0000tC-As for users@camel.apache.org; Tue, 12 Mar 2013 02:26:43 -0700 Date: Tue, 12 Mar 2013 02:26:43 -0700 (PDT) From: helander To: users@camel.apache.org Message-ID: <1363080403328-5728978.post@n5.nabble.com> Subject: Register beans MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Fom Java code I would like to register beans in the context registry. I need to do this in code that will deployed in various containers (Spring, JEE web applications). Is there some method that works in all these environments (hiding from my code the current registry implementation) or do I have to explicitly test the registry class in order to invoke class specific registration methods ? Thanks Lars -- View this message in context: http://camel.465427.n5.nabble.com/Register-beans-tp5728978.html Sent from the Camel - Users mailing list archive at Nabble.com.