<br><font size=2 face="sans-serif">$B>.NSMM$"$j$,$H$&$4$6$$$^$9!#(B</font>
<br>
<br><font size=2 face="sans-serif">$B@>$G$9!#(B</font>
<br>
<br>
<br><tt><font size=2>> @Resource<br>
> private XService subXService;<br>
><br>
>$B$^$?$O(B<br>
><br>
> @Resource(name="subXService")<br>
> private XService xService;<br>
><br>
>$B$H$9$l$P2DG=$G$9!%(B</font></tt>
<br>
<br><font size=2 face="sans-serif">$B>e5-$N$h$&$K$9$l$P2DG=$H$N$3$H$G$9$,!"$3$l$@$H%$%s%9%?%s%9$r:9$7BX$((B</font>
<br><font size=2 face="sans-serif">$B$h$&$H$9$k$?$S$K%=!<%9%3!<%I$K<j$rF~$l$J$1$l$P$J$i$J$$$H;W$&$N$G$9$,!"(B</font>
<br><font size=2 face="sans-serif">$B%=!<%9%3!<%I$K<j$rF~$l$:$K!"(Bdicon$B%U%!%$%k$J$I$G:9$7BX$($k$3$H$O$G$-$J$$(B</font>
<br><font size=2 face="sans-serif">$B$G$7$g$&$+!)(B</font>
<br>
<br>
<br><font size=2 face="sans-serif">$B$h$m$7$/$*4j$$$7$^$9!#(B</font>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Koichi Kobayashi <koichik@improvement.jp></b>
</font>
<br><font size=1 face="sans-serif">$BAw?.<T(B: seasar-user-bounces@ml.seasar.org</font>
<p><font size=1 face="sans-serif">2008/12/12 20:01</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">seasar-user@ml.seasar.org
$B$X(B<br>
$BJV?.$7$F$/$@$5$$(B</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">$B08@h(B</font></div>
<td><font size=1 face="sans-serif">seasar-user@ml.seasar.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">$B7oL>(B</font></div>
<td><font size=1 face="sans-serif">[Seasar-user:16506] Re: $B%$%s%9%?%s%9$N:9$7BX$($H!"(BMockInterceptor$B$r;HMQ$7$?%F%9%H$K$D$$$F(B</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>$B>.NS(B (koichik) $B$G$9!%(B<br>
<br>
Date: Fri, 12 Dec 2008 18:08:21 +0900<br>
From: nishi_hiroaki@itfrontier.co.jp<br>
To: Seasar-user@ml.seasar.org<br>
Subject: [Seasar-user:16504] $B%$%s%9%?%s%9$N:9$7BX$($H!"(BMockInterceptor$B$r;HMQ$7$?%F%9%H$K$D$$$F(B<br>
<br>
> public class XAction {<br>
> @Resource<br>
> private XService xService;$B!!!!!D!!!J(B1$B!K(B<br>
> }<br>
> <br>
> public class XService {<br>
> }<br>
> <br>
> public class SubXService extends XService {<br>
> }<br>
> <br>
> $B$H$$$&$h$&$K>e5-$N(B3$B$D$N%/%i%9$,$"$C$?>l9g(B<br>
> $BIaDL$N9=@.$GF0:n$5$;$k$H!J(B1$B!K$K$O(BXService$B$N%$%s%9%?%s%9$,(B<br>
> $B%$%s%8%'%/%7%g%s$5$l$k$H;W$$$^$9$,!"$3$l$r(BSubXService$B$r(B<br>
> $B%$%s%8%'%/%7%g%s$9$k$h$&$K$9$k$3$H$O2DG=$G$7$g$&$+!)(B<br>
<br>
@Resource<br>
private XService subXService;<br>
<br>
$B$^$?$O(B<br>
<br>
@Resource(name="subXService")<br>
private XService xService;<br>
<br>
$B$H$9$l$P2DG=$G$9!%(B<br>
<br>
> 2$B!"(BMockInterceptor$B$r;HMQ$7$F%F%9%H$r9T$C$?>l9g$K!"(B<br>
> $B!!(B $B<B9T$7$?%a%=%C%I$NLa$jCM$r%*%V%8%'%/%H$K$7$?$$$H(B<br>
> $B!!(B $B;W$C$F$$$k$N$G$9$,!"$3$l$r(Bdicon$B%U%!%$%k$G5-=R(B<br>
> $B!!(B $B$9$k$3$H$O2DG=$G$7$g$&$+!)(B<br>
<br>
$B0J2<$N$h$&$K;XDj$G$-$^$9!%(B<br>
<br>
<component class="..."><br>
<aspect><br>
<component class="org.seasar.framework.aop.interceptors.MockInterceptor"><br>
<initMethod name="setReturnValue"><br>
<arg>"someMethod"</arg><br>
<arg><br>
<!--$BLa$jCM$H$J$k%*%V%8%'%/%H$NDj5A(B
--><br>
<component class="..."><br>
</component><br>
</arg><br>
</initMethod><br>
</component><br>
</aspect><br>
</component><br>
<br>
<component> $B$K$ODL>oDL$j(B <property> $B$d(B <initMethod>
$B$r(B<br>
$B;XDj$9$k$3$H$,$G$-$^$9!%(B<br>
<br>
<br>
-- <br>
<component name="koichik"><br>
<property name="fullName">"Koichi Kobayashi"</property><br>
<property name="email">"koichik@improvement.jp"</property><br>
<property name="blog">"</font></tt><a href=http://d.hatena.ne.jp/koichik><tt><font size=2>http://d.hatena.ne.jp/koichik"</property><br>
</component><br>
<br>
_______________________________________________<br>
Seasar-user mailing list<br>
Seasar-user@ml.seasar.org<br>
</font></tt><a href="https://ml.seasar.org/mailman/listinfo/seasar-user"><tt><font size=2>https://ml.seasar.org/mailman/listinfo/seasar-user<br>
</font></tt></a></a>
<br>