<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: The new bean() pointcut</title>
	<atom:link href="http://blog.springsource.com/2007/09/24/the-new-bean-pointcut/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.springsource.com/2007/09/24/the-new-bean-pointcut/</link>
	<description>The voice of SpringSource</description>
	<lastBuildDate>Fri, 19 Mar 2010 07:01:07 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ramnivas Laddad</title>
		<link>http://blog.springsource.com/2007/09/24/the-new-bean-pointcut/comment-page-1/#comment-89544</link>
		<dc:creator>Ramnivas Laddad</dc:creator>
		<pubDate>Fri, 18 Jan 2008 11:22:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/09/24/the-new-bean-pointcut/#comment-89544</guid>
		<description>Eric,

The first case is a known bug that is being fixed in the upcoming AspectJ (http://jira.springframework.org/browse/SPR-3688). The second case, however, should work fine. Please file a bug if that is not the case.

-Ramnivas</description>
		<content:encoded><![CDATA[<p>Eric,</p>
<p>The first case is a known bug that is being fixed in the upcoming AspectJ (<a href="http://jira.springframework.org/browse/SPR-3688)" rel="nofollow">http://jira.springframework.org/browse/SPR-3688)</a>. The second case, however, should work fine. Please file a bug if that is not the case.</p>
<p>-Ramnivas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramnivas Laddad</title>
		<link>http://blog.springsource.com/2007/09/24/the-new-bean-pointcut/comment-page-1/#comment-89543</link>
		<dc:creator>Ramnivas Laddad</dc:creator>
		<pubDate>Fri, 18 Jan 2008 11:19:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/09/24/the-new-bean-pointcut/#comment-89543</guid>
		<description>Ashish,

To restrict advice to specific methods in specific beans, you combine a bean() pointcut with an execution() pointcut. Something like: bean(*Repository) &amp;&amp; execution(* store*(..)).

-Ramnivas</description>
		<content:encoded><![CDATA[<p>Ashish,</p>
<p>To restrict advice to specific methods in specific beans, you combine a bean() pointcut with an execution() pointcut. Something like: bean(*Repository) &#038;&#038; execution(* store*(..)).</p>
<p>-Ramnivas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashish Jamthe</title>
		<link>http://blog.springsource.com/2007/09/24/the-new-bean-pointcut/comment-page-1/#comment-89487</link>
		<dc:creator>Ashish Jamthe</dc:creator>
		<pubDate>Fri, 18 Jan 2008 04:12:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/09/24/the-new-bean-pointcut/#comment-89487</guid>
		<description>Using this feature I can restrict the Aspect to certain beans. I did not understand, How do I restrict the aspect to certain functions of certain beans? For example, all the store* methods of all the repositories (the beans which end in *Repository)

Am I missing something?
Regards,
Ashish Jamthe</description>
		<content:encoded><![CDATA[<p>Using this feature I can restrict the Aspect to certain beans. I did not understand, How do I restrict the aspect to certain functions of certain beans? For example, all the store* methods of all the repositories (the beans which end in *Repository)</p>
<p>Am I missing something?<br />
Regards,<br />
Ashish Jamthe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://blog.springsource.com/2007/09/24/the-new-bean-pointcut/comment-page-1/#comment-75275</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Mon, 03 Dec 2007 12:50:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/09/24/the-new-bean-pointcut/#comment-75275</guid>
		<description>Is the bean pointcut developed in 2.5?

Try to use it with 2.5, but failed.

Assume could not define it as an aspectj pointcut, like
@Pointcut(&quot;bean(*Service)&quot;), which will be reported as &#039;wildcard is not allowed&#039; error.

Use it directly in advice, like
@Before(&quot;bean(*Service)&quot;), turns out that the beans are not be AOPed. 

Many thanks,

Eric</description>
		<content:encoded><![CDATA[<p>Is the bean pointcut developed in 2.5?</p>
<p>Try to use it with 2.5, but failed.</p>
<p>Assume could not define it as an aspectj pointcut, like<br />
@Pointcut(&#034;bean(*Service)&#034;), which will be reported as &#039;wildcard is not allowed&#039; error.</p>
<p>Use it directly in advice, like<br />
@Before(&#034;bean(*Service)&#034;), turns out that the beans are not be AOPed. </p>
<p>Many thanks,</p>
<p>Eric</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rod Johnson</title>
		<link>http://blog.springsource.com/2007/09/24/the-new-bean-pointcut/comment-page-1/#comment-52584</link>
		<dc:creator>Rod Johnson</dc:creator>
		<pubDate>Sun, 30 Sep 2007 19:54:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/09/24/the-new-bean-pointcut/#comment-52584</guid>
		<description>Corby

Thanks for your kind words about 2.5! I&#039;m glad the new pointcut designator made it in: it&#039;s a cool feature and a nice synergy between the AspectJ and Spring models.

I think the key thing is not how much you do, but how well you do it. We remain true to our belief that everything we do has to deliver real technical benefit.

Having said that, however, I&#039;m not sure we have much core competence in brewing, but I would sure like a Spring Wheat Beer...

Rgds
Rod</description>
		<content:encoded><![CDATA[<p>Corby</p>
<p>Thanks for your kind words about 2.5! I&#039;m glad the new pointcut designator made it in: it&#039;s a cool feature and a nice synergy between the AspectJ and Spring models.</p>
<p>I think the key thing is not how much you do, but how well you do it. We remain true to our belief that everything we do has to deliver real technical benefit.</p>
<p>Having said that, however, I&#039;m not sure we have much core competence in brewing, but I would sure like a Spring Wheat Beer&#8230;</p>
<p>Rgds<br />
Rod</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neelan Choksi</title>
		<link>http://blog.springsource.com/2007/09/24/the-new-bean-pointcut/comment-page-1/#comment-52344</link>
		<dc:creator>Neelan Choksi</dc:creator>
		<pubDate>Fri, 28 Sep 2007 18:49:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/09/24/the-new-bean-pointcut/#comment-52344</guid>
		<description>[quote comment=&quot;51264&quot;]I am super excited about this feature. It is exactly the sort of focused, powerful enhancement that I want to see in the framework.

Interface21 has been very successful and is getting a lot of cash stuffed in their pockets right now. This is usually the time where the open-source product group goes mad with power, and starts marketing their own Spring-branded portal, ESB, and soft drink.

Looking at the feature list for Spring 2.5, it seems this hasn&#039;t happened. You guys haven&#039;t lost site of what your core competencies are, and have kept your attention there.[/quote]

Corby,

Glad that you are excited about the feature.

Look at breadth of the portfolio (Spring Framework, Spring .NET, Acegi, Spring WebServices, Spring WebFlow, Spring Batch, Pitchfork, Spring IDE, AspectJ, Spring OSGi, Spring LDAP, Spring Rich Client plus all of the stuff that isn&#039;t even public yet) and one could argue (and many have before) that we&#039;ve been &quot;mad with power&quot; for quite sometime.  

By the way, a Spring Wheat Beer or Spring Coffee Bean is far more likely than a Spring Cola, and we&#039;ve had the idea for both long before we ever even thought about raising money. ;)

Neelan</description>
		<content:encoded><![CDATA[<p>[quote comment="51264"]I am super excited about this feature. It is exactly the sort of focused, powerful enhancement that I want to see in the framework.</p>
<p>Interface21 has been very successful and is getting a lot of cash stuffed in their pockets right now. This is usually the time where the open-source product group goes mad with power, and starts marketing their own Spring-branded portal, ESB, and soft drink.</p>
<p>Looking at the feature list for Spring 2.5, it seems this hasn&#039;t happened. You guys haven&#039;t lost site of what your core competencies are, and have kept your attention there.[/quote]</p>
<p>Corby,</p>
<p>Glad that you are excited about the feature.</p>
<p>Look at breadth of the portfolio (Spring Framework, Spring .NET, Acegi, Spring WebServices, Spring WebFlow, Spring Batch, Pitchfork, Spring IDE, AspectJ, Spring OSGi, Spring LDAP, Spring Rich Client plus all of the stuff that isn&#039;t even public yet) and one could argue (and many have before) that we&#039;ve been &#034;mad with power&#034; for quite sometime.  </p>
<p>By the way, a Spring Wheat Beer or Spring Coffee Bean is far more likely than a Spring Cola, and we&#039;ve had the idea for both long before we ever even thought about raising money. <img src='http://blog.springsource.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Neelan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A new pointcut in Spring 2.5 : bean() pointcut &#171; Lijin&#8217;s Localhost</title>
		<link>http://blog.springsource.com/2007/09/24/the-new-bean-pointcut/comment-page-1/#comment-51827</link>
		<dc:creator>A new pointcut in Spring 2.5 : bean() pointcut &#171; Lijin&#8217;s Localhost</dc:creator>
		<pubDate>Wed, 26 Sep 2007 11:51:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/09/24/the-new-bean-pointcut/#comment-51827</guid>
		<description>[...] For more read it from Spring Team blog.  Technorati Tags: Spring Framework , Spring [...]</description>
		<content:encoded><![CDATA[<p>[...] For more read it from Spring Team blog.  Technorati Tags: Spring Framework , Spring [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramnivas Laddad</title>
		<link>http://blog.springsource.com/2007/09/24/the-new-bean-pointcut/comment-page-1/#comment-51621</link>
		<dc:creator>Ramnivas Laddad</dc:creator>
		<pubDate>Tue, 25 Sep 2007 19:12:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/09/24/the-new-bean-pointcut/#comment-51621</guid>
		<description>Taras,

I certainly see that in future we may support a metadata-based pointcut for beans, say, @bean(&lt;attribute-pattern&gt;, &lt;value-pattern&gt;). The problem is that using metadata with beans is just not a common practice. Ideally (in my opinion, at least), pointcuts should leverage what&#039;s already out there -- class names, package structure, method signature, bean names, any metadata etc. If and when typical Spring applications start using bean metadata for purposes other than solely to be picked up by a pointcut, that will be the ideal time to add such a pointcut. Alternatively, we could be convinced (through use cases) how such a pointcut may simplify Spring applications.

The whole data vs. metadata topic is quite fascinating to me (see, for example, a two-part series I wrote a while back http://www.ibm.com/developerworks/java/library/j-aopwork3 and http://www.ibm.com/developerworks/java/library/j-aopwork4) and is something I feel strongly about. So I am ready to be convinced of addition of such a pointcut if it adds significant value. As it stands now, the named-based bean() pointcut is useful and in future we may add additional metadata-based pointcuts. This isn&#039;t much different than how AspectJ progressed.</description>
		<content:encoded><![CDATA[<p>Taras,</p>
<p>I certainly see that in future we may support a metadata-based pointcut for beans, say, @bean(<attribute -pattern>, <value -pattern>). The problem is that using metadata with beans is just not a common practice. Ideally (in my opinion, at least), pointcuts should leverage what&#039;s already out there &#8212; class names, package structure, method signature, bean names, any metadata etc. If and when typical Spring applications start using bean metadata for purposes other than solely to be picked up by a pointcut, that will be the ideal time to add such a pointcut. Alternatively, we could be convinced (through use cases) how such a pointcut may simplify Spring applications.</p>
<p>The whole data vs. metadata topic is quite fascinating to me (see, for example, a two-part series I wrote a while back <a href="http://www.ibm.com/developerworks/java/library/j-aopwork3" rel="nofollow">http://www.ibm.com/developerworks/java/library/j-aopwork3</a> and <a href="http://www.ibm.com/developerworks/java/library/j-aopwork4)" rel="nofollow">http://www.ibm.com/developerworks/java/library/j-aopwork4)</a> and is something I feel strongly about. So I am ready to be convinced of addition of such a pointcut if it adds significant value. As it stands now, the named-based bean() pointcut is useful and in future we may add additional metadata-based pointcuts. This isn&#039;t much different than how AspectJ progressed.</value></attribute></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramnivas Laddad</title>
		<link>http://blog.springsource.com/2007/09/24/the-new-bean-pointcut/comment-page-1/#comment-51614</link>
		<dc:creator>Ramnivas Laddad</dc:creator>
		<pubDate>Tue, 25 Sep 2007 18:53:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/09/24/the-new-bean-pointcut/#comment-51614</guid>
		<description>Christian,

Indeed the support for bean() pointcut in Spring IDE is very useful (sorry that I forgot to mention in the original post).

-Ramnivas</description>
		<content:encoded><![CDATA[<p>Christian,</p>
<p>Indeed the support for bean() pointcut in Spring IDE is very useful (sorry that I forgot to mention in the original post).</p>
<p>-Ramnivas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Dupuis</title>
		<link>http://blog.springsource.com/2007/09/24/the-new-bean-pointcut/comment-page-1/#comment-51417</link>
		<dc:creator>Christian Dupuis</dc:creator>
		<pubDate>Tue, 25 Sep 2007 06:18:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2007/09/24/the-new-bean-pointcut/#comment-51417</guid>
		<description>What Ramnivas didn&#039;t mentioned: the bean() pointcut is already supported by Spring IDE since version 2.0.

More information is available from http://springide.org/blog/2007/06/27/spring-ide-20-is-final/</description>
		<content:encoded><![CDATA[<p>What Ramnivas didn&#039;t mentioned: the bean() pointcut is already supported by Spring IDE since version 2.0.</p>
<p>More information is available from <a href="http://springide.org/blog/2007/06/27/spring-ide-20-is-final/" rel="nofollow">http://springide.org/blog/2007/06/27/spring-ide-20-is-final/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
