Implementation of Role object pattern with AOP
LI Wei-zhai, Ying Shi, Ye Yu · Jisuanji gongcheng · 2005
Role Object Pattern is the most common design pattern used to implement Role Model. However, there are some inherent flaws in the implementation of Role Object pattern with OOP, such as tangle and scatter, complex object identity and interface bloat or downcasting. A hybrid method to implement Role Object pattern based on AOP technology was presented. Compared with the object-oriented method, the advantages of AOP were addressed.