[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] AOP strategy


     The following looks like the Strategy pattern to
me but I am looking for some AOP comments.

      I have a panel to draw and mouse listeners. Now
I want to decouple the mouse listener from the Panel
object because I don't want to end up with  too many
inner classes. Another reason to have separate
listener objects is that the actual work done is based
on what shape the user manipulates.

   So the same mouse listener will do different things
based on the shape it is listening to. 

Is this a good use case for AOP ?


Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.