AOP@Work: ʹÓÃAspectJ 5¼ìÑé¿â·½Ãæ - ±à³ÌÈëÃÅÍø
´úÂë¶ÎÀàËÆ ¡£ Äú¿ÉÒԺܿìµØ½Ì»áËýÖ¸¶¨ËùÐèÀàÐÍ£¬Ò²¾ÍÊÇ com.magickingdom °üÖ®ÄÚ»òÖ®Ï嵀 ÀàÐÍ£º
Çåµ¥ 1. withinTypes
AOP@Work: ʹÓÃAspectJ 5¼ìÑé¿â·½Ãæ(3)ʱ¼ä:2011-09-07 IBM Wes IsbergErin »¹¿ÉÔÚ AspectJ 5 ÖÐͨ¹ý aop.xml ʵÏÖÏàͬµÄÄ¿µÄ£¬ÈçÇåµ¥ 2 Ëùʾ £º Çåµ¥ 2. ÔÚ aop.xml ÄÚÉùÃ÷¾ßÌå·½Ãæ
ÈôÏòÃüÁîÐз¢³ö´íÎó£¬Ôò´íÎóµÄÐÎʽÓëÆÕͨ±àÒëÆ÷´íÎóÀàËÆ£¬³ý·ÇÓзµ»Øµ½ ¶¨ Òå¸Ã´íÎóµÄÉùÃ÷Óï¾ä´¦µÄÒýÓã¬ÈçÇåµ¥ 3 Ëùʾ£º Çåµ¥ 3. ´íÎóÉùÃ÷ÏûÏ¢
AspectJ Development Tools for Eclipse (AJDT) ½øÒ»²½¼ò»¯ÁË Erin µÄ¹¤ ×÷¡£´íÎóºÍ¾¯¸æ½«ËæͬÆäËû±àÒëÆ÷´íÎóºÍ¾¯¸æÒ»²¢Áгö£¬Èçͼ 1 Ëùʾ£º ͼ 1. ËùÉùÃ÷µÄ´íÎóÓë±àÒëÆ÷´íÎóÒ»²¢Áгö ÔÚ³öÎÊÌâµÄ´úÂë´¦£¬×î×ó²àµÄÒ³Ãæ¿Õ°×´¦½«ÏÔʾһ¸ö´øÓÐÉÏÏÂÎIJ˵¥µ¼º½Ïî µÄ ±ê¼Ç£¬´Ó¶øʹ Erin ¿ÉÒÔÌøת»Ø´íÎóÉùÃ÷´¦£¬Èçͼ 2 Ëùʾ£º ͼ 2. ´Ó´úÂë·µ»Øµ½´íÎóÉùÃ÷´¦µÄÒýÓà AOP@Work: ʹÓÃAspectJ 5¼ìÑé¿â·½Ãæ(4)ʱ¼ä:2011-09-07 IBM Wes IsbergArnold ѧ»áʹÓà GSetter ·½Ãæ Erin µÄ·½Ãæ²éÕÒ³öÁË Arnold ´úÂëÖеÄһЩΥ¹æ´íÎó¡£Í¨¹ý AspectJ µÄÏò ºó ºÍÏòÇ°Á´½Ó£¬Erin ¿ÉÒÔÑ¡Ôñ¸üÕý´úÂë»òµ÷Õû´íÎóÉùÃ÷¡£¸ù¾Ý¼ì²é£¬´íÎó¾ø´ó¶à Êý ¶¼ÊÇÎ¥¹æ×ֶΣ¬ÕâЩ×ֶβ»Ó¦Í¨¹ý setter ·½·¨·ÃÎÊ¡£ÓÉÓÚ Arnold ·Ç³£Ï²°®ÇÐ Èëµã£¬Òò´ËÄú½ÌÁËËûÈçºÎºöÂÔÎ¥¹æ×ֶΣ¬ÈçÇåµ¥ 4 Ëùʾ£º Çåµ¥ 4. ºöÂÔÎ¥¹æ×Ö¶Î
Arnold ºÍ Erin ¶¼·Ç³£¸ßÐË£¬µ« Zed Ö¸³ö Arnold ±ØÐëÀí½â¸Ä±ä¾ÖÃæµÄµ× ²ã ÇÐÈëµã¡£Õâ¿ÉÐÐÂ𣿲鿴ÁËÆäËû·½Ãæºó£¬Zed ÎʵÀ£º“ËÀí½â NoCallsIntoTestFromOutside ÖеÄÕâ¸öÇÐÈëµã£¿” ÈçÇåµ¥ 5 Ëùʾ£º Çåµ¥ 5. ±ÜÃâµ½²âÊÔ°üµÄÒýÓÃ
Arnold ÊÔͼ½âÊÍ£¬µ« Erin Ö»ÊÇ·ÁËÒ»¸ö°×ÑÛ¡£ÎÊÌâÔÚÓÚ£º¶Ô¿â·½Ã沿ÊðÕß ½öÐèÁ˽âºÜÉÙÏà¹ØÄÚÈÝÕâÑùµÄ¼ÙÉè´æÔÚ·çÏÕ¡£Zed ѯÎÊÊÇ·ñÄܹ»Í¨¹ý´íÎóÉùÃ÷ |
ÁèÖڿƼ¼×¨ÒµÌṩ·þÎñÆ÷×âÓᢷþÎñÆ÷Íйܡ¢ÆóÒµÓʾ֡¢ÐéÄâÖ÷»úµÈ·þÎñ£¬¹«Ë¾ÍøÕ¾£ºhttp://www.lingzhong.cn ΪÁ˸ø¹ã´ó¿Í»§Á˽â¸ü¶àµÄ¼¼ÊõÐÅÏ¢£¬±¾¼¼ÊõÎÄÕÂÊÕ¼¯À´Ô´ÓÚÍøÂç,ÁèÖڿƼ¼×ðÖØÎÄÕÂ×÷ÕߵİæȨ£¬Èç¹ûÓÐÉæ¼°ÄãµÄ°æȨÓбØҪɾ³ýÄãµÄÎÄÕ£¬ÇëºÍÎÒÃÇÁªÏµ¡£ÒÔÉÏÐÅÏ¢ÓëÎÄÕÂÕýÎÄÊDz»¿É·Ö¸îµÄÒ»²¿·Ö,Èç¹ûÄúҪתÔر¾ÎÄÕÂ,Çë±£ÁôÒÔÉÏÐÅÏ¢£¬Ð»Ð»! |