FactoryFinder, constructor injection  and eclipse environment
-------------------------------------------------------------

                 Key: GEOT-1040
                 URL: http://jira.codehaus.org/browse/GEOT-1040
             Project: GeoTools
          Issue Type: Improvement
          Components: core main
    Affects Versions: 2.4.M0
            Reporter: Martin Desruisseaux
         Assigned To: Martin Desruisseaux


{{FactoryFinder}} doesn't work in current Eclipse environment, because the 
{{META-INF/services}} directory can't be declared public in Eclipse. As a 
workaround, a 
[FactoryIteratorProvider|http://javadoc.geotools.fr/2.4/org/geotools/factory/FactoryIteratorProvider.html]
 interface has been introduced as of Geotools 2.4. However we do not yet 
provides any implementation for this iterator. Implementations for uDig and/or 
Eclipse environment need to be created and tested.

In addition, it has also been requested to allow _constructor injection_ for 
every factories. This requires looking for all factory implementations and add 
a constructor expecting the dependencies in arguments. The other constructors 
should not be removed; they are default constructor which will still use 
{{FactoryFinder}} in order to fetch default values for the dependencies.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to