Announcement Announcement Module
Collapse
No announcement yet.
Best Practise: using a IApplicationContext as Factory Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Best Practise: using a IApplicationContext as Factory

    I'm newbie and i'm try to design with SAS and I want (and appreciate) using his principles.

    I have to process a file with a sequence of operations: this sequence can change or aggregate different operations and every operation has his options. I'll use a my XMLschema to configure a process.

    1. It makes sense to use a IoC container (operations-container.xml) and a IApplicationContext.getObject("operationID") as factory? Cause usualy i saw that this practies it's use at startup to set the app.

    2. Is it correct to put true in "lazy-init"?

    Thanks in advance.
Working...
X