Aspect Oriented Programming and Factory Method Pattern
Author
Zhou Renjian
Create@
2006-11-15 18:13
When using aspects, we analyze lots of other classes and define an aspect, which will be called by other classes.
When using factory method pattern, we analyze lots of other classes and define an interface, then return the interface, and this interface will continue to call its own methods.
Same: analyze from existed classes for a common things (aspect or interface).
Different: Being called and calling.