Book a Demo

Author Topic: Modelling IoC in Composite Structure Diagrams  (Read 5702 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Modelling IoC in Composite Structure Diagrams
« on: August 16, 2007, 09:48:57 pm »
Any suggestions on the best way to approach how to indicate that one part is using IoC (Inversion of Control) and thereby injecting a reference to another part into the part at hand?

TIA,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Re: Modelling IoC in Composite Structure Diagrams
« Reply #1 on: August 17, 2007, 06:35:58 pm »
I know this is a hack, but how about using a constraint of /Injected to place an {/Injected} marker on the dependency?

I'd would probably follow this up with a supporting Factory Pattern elsewhere in the model.
Verbal Use Cases aren't worth the paper they are written upon.