Project

General

Profile

Feature #71

Clean up DatabaseOperationContext

Added by Andrae Muys - almost 15 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Mulgara
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

This is the next cleanup refactoring.
<br/>

<br/>
We have:
<br/>

<br/>
[[ResolverFactory]] findModelResolverFactory(long model)
<br/>
[[ResolverFactory]] findUncachedExternalResolverFactory(long model)
<br/>
[[ResolverFactory]] findModelTypeResolverFactory(URI modelTypeURI)
<br/>
Resolver obtainResolver(ResolverFactory resolverFactory)
<br/>
URI mapToModelTypeURI(URI modelURL)
<br/>
URI findModelTypeURI(long model)
<br/>
String findProtocol(long n)
<br/>

<br/>
most of which do multiple overlapping tasks, often implemented slightly differently.
<br/>

<br/>
Most of these methods used to live in different classes, and have migrated here as their homes were refactored and tidied.
<br/>

<br/>
[[DatabaseOperationContext]] and [[LocalQueryResolver]] are the last two dumping grounds in the system-core where we have left the cruft that was too difficult to clean up concurrently with previous refactorings; and [[DatabaseOperationContext]] is by far the worst of the two - so it's next on the list.

No data to display

Also available in: Atom PDF