Created
January 6, 2012 02:04
-
-
Save vijedi/1568539 to your computer and use it in GitHub Desktop.
Spring AOP Class Example With Two Classes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Transactional | |
@Service | |
class DependencyClass implements IDependencyClass { | |
} | |
@Transactional | |
@Service | |
class DependencyClassAlternate implements IDependencyClass { | |
} | |
class MainClass { | |
@Autowired | |
private DependencyClass dc; | |
@Autowired | |
private DependencyClassAlternate dca; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment