I have a complex application where services are injected into each other. What is your way of injecting service into each other.
Like I have 5 services and need to inject them into each other. I'm injeccting a service e开发者_如何转开发verytime into other service. E.g.
service_1, service_2, service_3, service_4 -> service_5 service_5, service_2, service_3, service_4 -> service_1 service_1, service_3, service_4, service_5 -> service_2
and so on. I inject all the services that are used inside that one.
I tried to creat application on described way but was creating problem. So need an architectural solution for this.
精彩评论