-
-
Save gokepler/e9d3beadbf439bf005b7a8c5eb2da759 to your computer and use it in GitHub Desktop.
Revisions
-
rponte revised this gist
Aug 12, 2011 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ AspectJProxyFactory factory = new AspectJProxyFactory(service); factory.addAspect(myaspect); // factory.setProxyTargetClass(true); // if you're applying to a concrete class XuxuService proxy = factory.getProxy(); // just run it proxy.execute(); -
rponte revised this gist
Aug 12, 2011 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,8 @@ RetryAndNotifyOnErrorAspect myaspect = new RetryAndNotifyOnErrorAspect(); AspectJProxyFactory factory = new AspectJProxyFactory(service); factory.addAspect(myaspect); // factory.setProxyTargetClass(true); // if you're applying to a concrete class EstoqueMessageListener proxy = factory.getProxy(); // just run it -
rponte created this gist
Aug 11, 2011 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ XuxuService service = new XuxuServiceImpl(); RetryAndNotifyOnErrorAspect myaspect = new RetryAndNotifyOnErrorAspect(); AspectJProxyFactory factory = new AspectJProxyFactory(service); factory.addAspect(myaspect); EstoqueMessageListener proxy = factory.getProxy(); // just run it proxy.execute();