<?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"
	>
<channel>
	<title>Comments on: Logging with AspectJ</title>
	<atom:link href="http://www.christianschenk.org/blog/logging-with-aspectj/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.christianschenk.org/blog/logging-with-aspectj/</link>
	<description>Writing about my experiences with technology and all different kinds of projects and experiments</description>
	<pubDate>Thu, 04 Dec 2008 05:47:53 +0000</pubDate>
	
		<item>
		<title>By: Jean-Claude</title>
		<link>http://www.christianschenk.org/blog/logging-with-aspectj/#comment-1100</link>
		<dc:creator>Jean-Claude</dc:creator>
		<pubDate>Fri, 14 Mar 2008 15:00:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/blog/logging-with-aspectj/#comment-1100</guid>
		<description>Hi Christian,

I have a question about AOP and GUI:
My problem is about capturing events associated to the input (for instance, click on a button, scrolling a list, and so on). The problem is mainly related to the anonymous classes. I tried a lost of solutions, but none is good for me :
- tracing all the actionPerformed. It works quite well, BUT for my projects I want to trace only some widget, for instance the OK button, the Print button and a JTree, but nothing else on the GUI...
- modifying the GUI code in MVC or Observer pattern. OK, but I don't want to change the programmer's habits...
- modifying the GUI code to transform methods from anonymous classes into public methods of the associated view. OK, but I don't want to change the programmer's habits...
- centralizing all the actionPerformed methods into one public method of the view. OK, but I don't want to change the programmer's habits...

Do you have a solution to this problem?</description>
		<content:encoded><![CDATA[<p>Hi Christian,</p>
<p>I have a question about AOP and GUI:<br />
My problem is about capturing events associated to the input (for instance, click on a button, scrolling a list, and so on). The problem is mainly related to the anonymous classes. I tried a lost of solutions, but none is good for me :<br />
- tracing all the actionPerformed. It works quite well, BUT for my projects I want to trace only some widget, for instance the OK button, the Print button and a JTree, but nothing else on the GUI&#8230;<br />
- modifying the GUI code in MVC or Observer pattern. OK, but I don&#8217;t want to change the programmer&#8217;s habits&#8230;<br />
- modifying the GUI code to transform methods from anonymous classes into public methods of the associated view. OK, but I don&#8217;t want to change the programmer&#8217;s habits&#8230;<br />
- centralizing all the actionPerformed methods into one public method of the view. OK, but I don&#8217;t want to change the programmer&#8217;s habits&#8230;</p>
<p>Do you have a solution to this problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Schenk</title>
		<link>http://www.christianschenk.org/blog/logging-with-aspectj/#comment-577</link>
		<dc:creator>Christian Schenk</dc:creator>
		<pubDate>Fri, 04 Jan 2008 16:34:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/blog/logging-with-aspectj/#comment-577</guid>
		<description>Hi ramkumar,

run the Method &lt;code&gt;doEverything()&lt;/code&gt; from the &lt;code&gt;MyLogic&lt;/code&gt; class - I prepared this here: &lt;code&gt;MyLogicTest&lt;/code&gt;. Run the latter as a JUnit test and everything should be executed just fine.
If you haven't installed the &lt;a title="Eclipse AspectJ Development Tools" href="http://www.eclipse.org/ajdt/" rel="nofollow"&gt;AspectJ Development Tools&lt;/a&gt; for Eclipse, the aspects won't be weaved into the code and nothing special will happen. If you don't use Eclipse or Maven2 at all, don't forget to call the AspectJ &lt;a title="Download AspectJ compiler" href="http://www.eclipse.org/aspectj/downloads.php" rel="nofollow"&gt;compiler&lt;/a&gt; by hand.

Cheers,
Christian</description>
		<content:encoded><![CDATA[<p>Hi ramkumar,</p>
<p>run the Method <code>doEverything()</code> from the <code>MyLogic</code> class - I prepared this here: <code>MyLogicTest</code>. Run the latter as a JUnit test and everything should be executed just fine.<br />
If you haven&#8217;t installed the <a title="Eclipse AspectJ Development Tools" href="http://www.eclipse.org/ajdt/">AspectJ Development Tools</a> for Eclipse, the aspects won&#8217;t be weaved into the code and nothing special will happen. If you don&#8217;t use Eclipse or Maven2 at all, don&#8217;t forget to call the AspectJ <a title="Download AspectJ compiler" href="http://www.eclipse.org/aspectj/downloads.php">compiler</a> by hand.</p>
<p>Cheers,<br />
Christian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ramkumar</title>
		<link>http://www.christianschenk.org/blog/logging-with-aspectj/#comment-575</link>
		<dc:creator>ramkumar</dc:creator>
		<pubDate>Fri, 04 Jan 2008 10:41:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/blog/logging-with-aspectj/#comment-575</guid>
		<description>hi i tried another exmaple of urs .... i have A.java, B.java, MyLogic.java and DoSomething.java

in nother package i have AbstractLoggingAspect.java and MyLoggingAspect.java where i have aspects defined

so what to do next. how to run this application? this is my question</description>
		<content:encoded><![CDATA[<p>hi i tried another exmaple of urs &#8230;. i have A.java, B.java, MyLogic.java and DoSomething.java</p>
<p>in nother package i have AbstractLoggingAspect.java and MyLoggingAspect.java where i have aspects defined</p>
<p>so what to do next. how to run this application? this is my question</p>
]]></content:encoded>
	</item>
</channel>
</rss>
