Issue Details (XML | Word | Printable)

Key: NUCCORE-494
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Erik Bengtson
Reporter: Erik Bengtson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Core

Change signature of store, query, sco package to take ExecutionContext instead of ObjectManager

Created: 20/Mar/10 06:22 PM   Updated: 03/Apr/10 10:45 AM   Resolved: 31/Mar/10 06:18 PM
Component/s: Code Structure
Affects Version/s: None
Fix Version/s: 2.1.0.m1

Issue Links:
Depend
 


 Description  « Hide
As part of the goal to make the packages query, metadata, transaction and store independent of the user API, remove the ObjectManager from the query and uses the ExecutionContext, which is an API used internally to communicate between packages

Change all signatures
Remove the dependencies to ObjectManager where possible in the query, store, sco, mapping packages
Apply the changes to all store.* plugins

Erik Bengtson made changes - 21/Mar/10 11:40 AM
Field Original Value New Value
Summary Change signature of Query package to take ExecutionContext instead of ObjectManager Change signature of store, query, sco package to take ExecutionContext instead of ObjectManager
Description As part of the goal to make the packages query, metadata, transaction and store independent of the user API, remove the ObjectManager from the query and uses the ExecutionContext, which is an API used internally to communicate between packages

Change the query signature
Remove the dependencies to ObjectManager where possible in the query package
Apply the changes to all store.* plugins
As part of the goal to make the packages query, metadata, transaction and store independent of the user API, remove the ObjectManager from the query and uses the ExecutionContext, which is an API used internally to communicate between packages

Change all signatures
Remove the dependencies to ObjectManager where possible in the query, store, sco, mapping packages
Apply the changes to all store.* plugins
Erik Bengtson added a comment - 21/Mar/10 09:14 PM
drop StorePersistenceHandler
StorePersistenceHandler2 renamed to StorePersistenceHandler
created ObjectProviderFactory temporarily to be used by Store.*. StateManager must not be created by store.*

Erik Bengtson added a comment - 21/Mar/10 09:18 PM
- breaks compatibility of any existing plugin
- StateManager is currently used by a few store.*. Must be removed this dependency

Erik Bengtson added a comment - 21/Mar/10 09:20 PM
- Needs some cleanup of interfaces
- needs documentation of ExecutionContext and ObjectProvider

Erik Bengtson made changes - 29/Mar/10 04:10 PM
Link This issue is dependent on NUCCORE-499 [ NUCCORE-499 ]
Andy Jefferson added a comment - 31/Mar/10 05:50 PM
Erik, will this be complete by Friday ? If not then change the Fix Version to 2.1.0 M2

Erik Bengtson added a comment - 31/Mar/10 06:18 PM
The majority of the changes have been done. Work will be completed by more details issues

Erik Bengtson made changes - 31/Mar/10 06:18 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 03/Apr/10 10:45 AM
Status Resolved [ 5 ] Closed [ 6 ]