Forum Post: RE: do you inject ?

  • Thread starter Thread starter Bronco
  • Start date Start date
Status
Not open for further replies.
B

Bronco

Guest
That why the STOMP should have a decent interface. So you can do a def var stompAdapter as IStompAdapter no-undo, in class B, call the Factory for an instance of IStompAdapter and pass that to C. This is a textbook case for interfaces.

Continue reading...
 
Status
Not open for further replies.
Back
Top