Return-Path: Delivered-To: apmail-incubator-aries-dev-archive@minotaur.apache.org Received: (qmail 78685 invoked from network); 12 Jul 2010 23:53:14 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Jul 2010 23:53:14 -0000 Received: (qmail 72683 invoked by uid 500); 12 Jul 2010 23:53:14 -0000 Delivered-To: apmail-incubator-aries-dev-archive@incubator.apache.org Received: (qmail 72627 invoked by uid 500); 12 Jul 2010 23:53:14 -0000 Mailing-List: contact aries-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: aries-dev@incubator.apache.org Delivered-To: mailing list aries-dev@incubator.apache.org Received: (qmail 72619 invoked by uid 99); 12 Jul 2010 23:53:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jul 2010 23:53:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jul 2010 23:53:11 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6CNqnV8012977 for ; Mon, 12 Jul 2010 23:52:49 GMT Message-ID: <23030099.337481278978769358.JavaMail.jira@thor> Date: Mon, 12 Jul 2010 19:52:49 -0400 (EDT) From: "David Jencks (JIRA)" To: aries-dev@incubator.apache.org Subject: [jira] Created: (ARIES-356) Make jndi proxy creation more flexible and, in the aries context, optional MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Make jndi proxy creation more flexible and, in the aries context, optional -------------------------------------------------------------------------- Key: ARIES-356 URL: https://issues.apache.org/jira/browse/ARIES-356 Project: Aries Issue Type: Improvement Components: JNDI Affects Versions: 0.2 Reporter: David Jencks Assignee: David Jencks Fix For: 0.2 There are a lot of cases when the current proxy creation fails, such as when a class is in the set of interfaces we're trying to proxy. We should: 1.allow using cglib to proxy classes. 2. if the class can't be proxied, and a proxy is required (in the osgi: namespace) leave it out 3. (behavior up for debate) in the aries:services namespace, if there is a problem proxying, just return the raw service. An example of when a service can't be proxied is it is a final class such as javax.mail.Session. There's discussion on the dev list about what is appropriate for (3). I'm committing my proposal to give us something concrete to discuss. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.