Return-Path: Delivered-To: apmail-cayenne-commits-archive@www.apache.org Received: (qmail 67696 invoked from network); 30 Jan 2011 01:48:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Jan 2011 01:48:07 -0000 Received: (qmail 15363 invoked by uid 500); 30 Jan 2011 01:48:07 -0000 Delivered-To: apmail-cayenne-commits-archive@cayenne.apache.org Received: (qmail 15341 invoked by uid 500); 30 Jan 2011 01:48:07 -0000 Mailing-List: contact commits-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cayenne.apache.org Delivered-To: mailing list commits@cayenne.apache.org Received: (qmail 15334 invoked by uid 99); 30 Jan 2011 01:48:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Jan 2011 01:48:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.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; Sun, 30 Jan 2011 01:48:06 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0U1liYq017529 for ; Sun, 30 Jan 2011 01:47:44 GMT Message-ID: <23611125.290631296352064484.JavaMail.jira@thor> Date: Sat, 29 Jan 2011 20:47:44 -0500 (EST) From: "Andrus Adamchik (JIRA)" To: commits@cayenne.apache.org Subject: [jira] Closed: (CAY-1536) Expand deserialization context to provide Injector object instead of just a DataChannel. In-Reply-To: <11773774.290611296351704389.JavaMail.jira@thor> 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 [ https://issues.apache.org/jira/browse/CAY-1536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrus Adamchik closed CAY-1536. -------------------------------- Resolution: Fixed > Expand deserialization context to provide Injector object instead of just a DataChannel. > ---------------------------------------------------------------------------------------- > > Key: CAY-1536 > URL: https://issues.apache.org/jira/browse/CAY-1536 > Project: Cayenne > Issue Type: Sub-task > Components: Core Library > Affects Versions: 3.1M2 > Reporter: Andrus Adamchik > Assignee: Andrus Adamchik > Fix For: 3.1M2 > > > Replace BaseContext.bindThreadDeserializationChannel/getThreadDeserializationChannel with a more generic context for deserialization : CayenneRuntime.bindThreadInjector/getThreadInjector. This way deserialized objects can lookup any service in the runtime container. Will need to test that in real scenarios (e.g. deserializing sessions from disk in Tomcat) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.