ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  An Introduction to Aspect-Oriented Programming with the Spring Framework, Part 1
Subject:   Automatic Swap of Target Class
Date:   2006-03-30 00:53:13
From:   russellmiles
Response to: Automatic Swap of Target Class

To my knowledge, in Spring you'd be best advised to do this sort of implementation replacement behind an interface anyway, and then to use regular AOP to change the actual implementation class. This is the approach advocated by the framework and is a best practice anyway, particularly for what you are attempting to do.

1 to 1 of 1
  1. Automatic Swap of Target Class
    2006-03-30 19:04:31  spidercat [View]

    • Russell Miles photo Automatic Swap of Target Class
      2006-03-31 00:06:31  Russell Miles | O'Reilly AuthorO'Reilly Blogger [View]

      • Automatic Swap of Target Class
        2006-04-06 01:57:53  spidercat [View]

1 to 1 of 1