cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAY-1425) Remove Configuration sharedConfiguration singleton affecting DataContext deserialization, CayenneDataObject XML deserialization, DataContext static factory method
Date Mon, 03 May 2010 03:17:56 GMT
Remove Configuration sharedConfiguration singleton affecting DataContext deserialization, CayenneDataObject
XML deserialization, DataContext static factory method
------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: CAY-1425
                 URL: https://issues.apache.org/jira/browse/CAY-1425
             Project: Cayenne
          Issue Type: Task
          Components: Core Library
    Affects Versions: 3.1M1
            Reporter: Andrus Adamchik
            Assignee: Andrus Adamchik
             Fix For: 3.1M1


This is related to CAY-1414... Will remove a static singelton Configuration.getSharedConfiguration().
It affects the following areas:

1. DataContext deserilaization
2. CayenneDataObject deserilaization from XML

* DataContext.createDataContext(...)


(1) and (2) will rely on an alternative deserialization strategy based on a static ThreadLocal<DataChannel>
attached to BaseContext. That would allow user applications to set a contextual channel instance
as needed and in a thread-safe manner. CayenneFilter will be providing thread-local DataChannel
automatically. 

(3) These methods will be removed as DataContext should be created based on the DI runtime.

This Jira resolves a bunch of long standing TODO's in the code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message