Pergunta

I read in many book but still i did't understand what is the main difference between @In(injected) and @Out(outjected), i am only aware with @In(injected) , i don't know where to use @Out(outjected) so please explain me with an example.

Foi útil?

Solução

From what I understand:

  • @In(jection) - this injects the object from the "component pool" just before flow enters the class.
  • @Out(jection) - is what happens at the end of the flow, just after the flow leaves the class, the component object is retained in the "component pool" for later use.

HTH

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top