Announcement Announcement Module
Collapse
No announcement yet.
How to remove inter-dependency by DI? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to remove inter-dependency by DI?

    Hi,

    i'm having an EmptyInterceptor(hibernate's), in this interceptor i'm using a service to store data in db.

    So the dependency is like as follows:

    Interceptor name is - myInterceptor
    service Name : myService

    Interceptor needs service to store data in DB(Using DAO).

    And to Store Data Service Needs SessionFactory.

    How can i resolve such inter Dependency?

    Thanks
Working...
X