{"image_url":null,"blog_title":"asato\u306e\u6280\u8853\u7684\u306a\u5185\u5bb9\u306e\u65e5\u8a18","height":"190","provider_url":"https://hatena.blog","published":"2004-09-07 09:57:17","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fasato-d.hatenadiary.org%2Fentry%2F20040907%2F1094518637\" title=\" Type-Safe Pointcut Extension - asato\u306e\u6280\u8853\u7684\u306a\u5185\u5bb9\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/asato-d/","blog_url":"https://asato-d.hatenadiary.org/","width":"100%","provider_name":"Hatena Blog","author_name":"asato-d","categories":["AOP"],"description":"\u30bf\u30a4\u30d7\u30bb\u30fc\u30d5\u304b\u3069\u30fc\u304b\u306f\u77e5\u3089\u306a\u3044\u3051\u3069\u3001\u73fe\u5728\u306e AspectJ \u3067\u306e\u62bd\u8c61\u30dd\u30a4\u30f3\u30c8\u30ab\u30c3\u30c8\u306e\u4ed5\u7d44\u307f\u306f\u3001\u3084\u3084\u5b89\u5168\u3067\u306f\u306a\u3044\u3068\u601d\u3046\u3002 \u305f\u3068\u3048\u3070\u3001\u6b21\u306e\u3088\u3046\u306a\u62bd\u8c61\u30a2\u30b9\u30da\u30af\u30c8\u304c\u3042\u308b\u3068\u3059\u308b: public abstract aspect SetLogging { protected abstract pointcut targetClass(); before() : call( void set*(..) ) && targetClass() { // log } }\u3053\u306e\u62bd\u8c61\u30a2\u30b9\u30da\u30af\u30c8\u306e\u5f79\u5272\u306f\u3001\u6307\u5b9a\u3055\u308c\u305f\u30af\u30e9\u30b9\u306e set*(..) \u30e1\u30bd\u30c3\u30c9\u307f\u306e\u30ed\u30b0\u3092\u53d6\u308d\u3046\u3068\u3044\u3046\u3082\u306e\u3002 \u305f\u3068\u3048\u3070\u3001Point \u30af\u30e9\u30b9\u306e\u30ed\u30b0\u3092\u53d6\u308a\u305f\u3044\u2026","url":"https://asato-d.hatenadiary.org/entry/20040907/1094518637","title":" Type-Safe Pointcut Extension","version":"1.0","type":"rich"}