|Re: Use dependency injection instead of singletons for services [message #563497 is a reply to message #563473]
||Thu, 19 August 2010 08:24
| Michael Wenz
Registered: July 2009
Location: Walldorf, Germany
thanks for this suggestion. As always it is a good approach to seperate API
from implementation, e.g. by using dependency injection.
Nevertheless, currently we see our services more or less as a static
offering towards the tools. So, at least currently we don't have plans in
this respect. Do you have a concrete usecase in which you would need this?
"Ken Wenzel" <firstname.lastname@example.org> wrote in message
> instead of using singletons for Graphiti's services which are accessed by
> Graphiti.getGaService() and others, dependency injection would open the
> possibility of replacing the standard services by user-defined ones.
> Does the Graphiti team plan to use Guice or other frameworks for
> dependency injection?
> Best regards,
Powered by FUDForum
. Page generated in 0.02661 seconds