File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes dependency declaration for interface components Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "dependency declaration for interface components" Watch "dependency declaration for interface components" New topic
Author

dependency declaration for interface components

Trilochan Bharadwaj
Ranch Hand

Joined: Feb 02, 2009
Posts: 100
OK, I have following situation:


An abstract implementation of this follows:


Now, What I am doing is:


How would I declare, AbstractModelController in my spring beans config declaration, I assume that a , But I don't know how to declare an interface dependency on my abstract class and then re-use all the methods like saveOrUpdate, delete findById from abstract model controller class ...

I can understand how would I declare AssociateModelController, but I cannot understand how would I declare AbstractModelController and its interface dependency to allow the above code to work ... Any suggestions?

Trilochan.
Trilochan Bharadwaj
Ranch Hand

Joined: Feb 02, 2009
Posts: 100
Anyone?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: dependency declaration for interface components