From: Jody G. <jga...@re...> - 2008-07-23 00:39:54
|
Jody Garnett wrote: > Please note I am making use of the Hints.FORCE_LONGITUDE_FIRST_AXIS_ORDER hint. So it makes sense that the > EPSG factory is not found on the classpath when requested with this Hint. > > So what is the story again on how these hints are supposed to be used? > Is this a case where a global hint (used to describe what the > application wants to work with) is interfering with your ability to > discover everything on the classpath? > > Now this is uDig so I am willing to take a little pain here; but I don't > want to kill myself on this stuff. It was recommended to me that I > should set these hints globally ... perhaps we just have a debugging > problem with referencing. > Turning off the FORCE_LONGITUDE_FIRST_AXIS_ORDER as a global default allowed the epsg-hsql authority factory to be discovered. Martin are you still interested in breaking apart the "service discovery" use of factory spi form the management of factory instances? Right now we are asking FactorySPI to pull double duty - something I don't believe it is set up for ... witness the amazing lengths we go to to make a no argument constructor available (for discouvery) along with a constructor that accepts some form of configuration (in the forms of Hints). I am willing to write up a change proposal to this effect. Jody |