It certainly can be useful. It really depends on if the aspect contains shared state that can be used concurrently. In other words, the situation in an advice isn't much different than a regular method.
-Ramnivas On Mon, Dec 28, 2009 at 10:12 AM, Jean-Louis.Pasturel < jean-louis.pastu...@orange.fr> wrote: > Perhaps a stupid question ;-) > In an advice of an aspect with the default modifier issingleton, is it > usefull to monitor ( synchronized key word) the code bloc of the advice ? > > > _______________________________________________ > aspectj-users mailing list > aspectj-users@eclipse.org > https://dev.eclipse.org/mailman/listinfo/aspectj-users >
_______________________________________________ aspectj-users mailing list aspectj-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/aspectj-users