0

I have created 3 different components: Client, Executor and Methodology.

I can have multiple Client instances that references its own Executor instance. So I turned Executor as a DS factory component.

Executor can execute the Client request following one or more methodologies. so it references (1..n) Methodology services dynamically.

So far, so good. My problem is that I need to narrow the methodologies used by Executor component per client wish.

How could I do that?

Cristiano
  • 1,414
  • 15
  • 22

1 Answers1

0

Since you create the component factory instances, you can supply different target properties to each instance. The target properties can be used to select referenced services.

BJ Hargrave
  • 9,324
  • 1
  • 19
  • 27