$B:4F#$H?=$7$^$9!#(B<br>$B$$$D$b$*@$OC$K$J$C$F$*$j$^$9!#(B<br><br>HogeService, FugaService $B$N(B execute$B%a%=%C%I$K(B j2ee.requiredTx $B$,@_Dj$5$l$F$$$k(B(aspect)$B>u672<$G!"(B<br><br>========================<br>Class HogeService {<br><br> private FugaService fugaService;<br><br> public void execute() {
<br> try {<br> fugaService.execute();<br> } catch (Exception e) {<br> log.info(e);<br> }<br> }<br><br>}<br>========================<br><br>$B>e5-$N$h$&$K(B HogeService#execute $B$N$J$+$G(B fugaService#execute $B$r8F$S=P$7$F$$$F!"(B<br>
fugaService#execute$B$G(BException$B$,H/@8$7$?>l9g!"(B<br>$B%H%i%s%6%/%7%g%s$O%3%_%C%H$5$l$^$9!#(B<br><br>$B$3$l$O!"(BHogeService#execute$B$,%H%i%s%6%/%7%g%s6-3&$K$J$C$F$$$k$N$G!"(BfugaService$B$G(B<br>Exception$B$,H/@8$7$F$b!"(BHogeService$B$G(Bcatch$B$7$F$$$k$N$G%H%i%s%6%/%7%g%s$O%3%_%C%H$5$l$k(B<br>$B$H$$$&$3$H$K$J$k$N$G$7$g$&$+!)(B<br><br>$B$3$N%1!<%9$G%H%i%s%6%/%7%g%s$,%m!<%k%P%C%/$5$l$k$h$&$JJ}K!$O$J$$$G$7$g$&$+!)(B
<br>($BLu$"$C$F(BHogeService$BFb$G(BException$B$O%-%c%C%A$7$?$$!#(B)<br><br>