-
Oct 4th, 2008, 01:09 PM
#1
Templated Abstract Controller -- Possible?
I want to make a generic CRUD controller that works with MVC Annotations.
I've got a basic controller that works, the only thing I really need to do to make it generic would be to make it Templated around my CommandObject (entity) class.
I can't see how to do this though since Spring controls the instantiation of the controller class. I'm just learning Spring so maybe I'm going about it the wrong way, but I can't seem to find an easy way to do this. I want to avoid xml as much as possible.
Ideas?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules