jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
GeoTools
  • GeoTools
  • GEOT-1286 Add Concurrency Support to CRS Authority
  • GEOT-1301

GeoToolsFactory renamed to ReferencingObjectFactory

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.4-M3
  • Fix Version/s: 2.4-M4
  • Component/s: referencing
  • Labels:
    None

Description

This one name has caused lots of confusion, almost every newbie trips on this one at least once. The actual class is the "GeoTools" implementation the following:

  • CSFactory
  • DatumFactory
  • CRSFactory

Each of these interface is responsible for producing some components of the GeoAPI referencing model. They are real factories and do create objects with no logic. Strictly speaking no definition, they do have some logic in the form of CanconicalSet used to intern objects so the factory does not let duplicates out into the wild.

The class is also marked with the BufferedFactory marker interface (not sure why, maybe for for the reporting tool).

Issue Links

relates to

Sub-task - The sub-task of the issue GEOT-1300 Isolate CanonicalSet as a subclass of WeakHashSet

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • History
  • Activity
Jody Garnett made changes - 12/Jun/07 4:02 PM
Field Original Value New Value
Status Open [ 1 ] In Progress [ 3 ]
Hide
Permalink
Jody Garnett added a comment - 12/Jun/07 4:05 PM
The instances created are actually extensions of: org.opengis.referencing.IdentifiedObject.

Going to ask around and see if IdentifiedObjectFactory would be more appropriate.
Show
Jody Garnett added a comment - 12/Jun/07 4:05 PM The instances created are actually extensions of: org.opengis.referencing.IdentifiedObject. Going to ask around and see if IdentifiedObjectFactory would be more appropriate.
Hide
Permalink
Martin Desruisseaux added a comment - 13/Jun/07 9:28 AM
I agree with this name change proposal, both ReferencingObjectFactory and IdentifiedObjectFactory. I have a slight preference for ReferencingObjectFactory.

This factory implements the BufferedFactory marker interface for reporting that it provides some sort of caching. This is not real caching however since it just tries to avoid duplicated objects, so maybe BufferedFactory is not appropriate. It has no impact on execution however.
Show
Martin Desruisseaux added a comment - 13/Jun/07 9:28 AM I agree with this name change proposal, both ReferencingObjectFactory and IdentifiedObjectFactory. I have a slight preference for ReferencingObjectFactory. This factory implements the BufferedFactory marker interface for reporting that it provides some sort of caching. This is not real caching however since it just tries to avoid duplicated objects, so maybe BufferedFactory is not appropriate. It has no impact on execution however.
Martin Desruisseaux made changes - 13/Jun/07 9:29 AM
Link This issue relates to GEOT-1300 [ GEOT-1300 ]
Hide
Permalink
Jody Garnett added a comment - 18/Jun/07 1:04 PM
Changed as of svn revision 25888.
Show
Jody Garnett added a comment - 18/Jun/07 1:04 PM Changed as of svn revision 25888.
Jody Garnett made changes - 18/Jun/07 1:04 PM
Status In Progress [ 3 ] Closed [ 6 ]
Fix Version/s 2.4-M4 [ 13525 ]
Resolution Fixed [ 1 ]
Hide
Permalink
Jody Garnett added a comment - 19/Jun/07 1:18 PM
restored history -r 25919
Show
Jody Garnett added a comment - 19/Jun/07 1:18 PM restored history -r 25919

People

  • Assignee:
    Jody Garnett
    Reporter:
    Jody Garnett
Vote (0)
Watch (1)

Dates

  • Created:
    12/Jun/07 4:02 PM
    Updated:
    19/Jun/07 1:18 PM
    Resolved:
    18/Jun/07 1:04 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.