Dependency injection and Spring -
http://projects.spring.io/spring-framework/
at end of example have line , quote
the example above shows basic concept of dependency injection,
messageprinter
decoupledmessageservice
implementation, spring framework wiring together.
the article makes inference @ end messageprinter
decoupled messageservice
.
i not understand how come using annotations messageprinter has been decoupled messageservice. please care explain?
Comments
Post a Comment