<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>&gt; &nbsp; &nbsp;@Resource<br>
&gt; &nbsp; &nbsp;private XService subXService;<br>
&gt;<br>
&gt;$B$^$?$O(B<br>
&gt;<br>
&gt; &nbsp; &nbsp;@Resource(name=&quot;subXService&quot;)<br>
&gt; &nbsp; &nbsp;private XService xService;<br>
&gt;<br>
&gt;$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 &lt;koichik@improvement.jp&gt;</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: &nbsp; &nbsp;Fri, 12 Dec 2008 18:08:21 +0900<br>
From: &nbsp; &nbsp;nishi_hiroaki@itfrontier.co.jp<br>
To: &nbsp; &nbsp; &nbsp;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>
&gt; public class XAction {<br>
&gt; &nbsp; &nbsp; @Resource<br>
&gt; &nbsp; &nbsp; private XService xService;$B!!!!!D!!!J(B1$B!K(B<br>
&gt; }<br>
&gt; <br>
&gt; public class XService {<br>
&gt; }<br>
&gt; <br>
&gt; public class SubXService extends XService {<br>
&gt; }<br>
&gt; <br>
&gt; $B$H$$$&$h$&$K>e5-$N(B3$B$D$N%/%i%9$,$"$C$?>l9g(B<br>
&gt; $BIaDL$N9=@.$GF0:n$5$;$k$H!J(B1$B!K$K$O(BXService$B$N%$%s%9%?%s%9$,(B<br>
&gt; $B%$%s%8%'%/%7%g%s$5$l$k$H;W$$$^$9$,!"$3$l$r(BSubXService$B$r(B<br>
&gt; $B%$%s%8%'%/%7%g%s$9$k$h$&$K$9$k$3$H$O2DG=$G$7$g$&$+!)(B<br>
<br>
 &nbsp; &nbsp;@Resource<br>
 &nbsp; &nbsp;private XService subXService;<br>
<br>
$B$^$?$O(B<br>
<br>
 &nbsp; &nbsp;@Resource(name=&quot;subXService&quot;)<br>
 &nbsp; &nbsp;private XService xService;<br>
<br>
$B$H$9$l$P2DG=$G$9!%(B<br>
<br>
&gt; 2$B!"(BMockInterceptor$B$r;HMQ$7$F%F%9%H$r9T$C$?>l9g$K!"(B<br>
&gt; $B!!(B &nbsp;$B<B9T$7$?%a%=%C%I$NLa$jCM$r%*%V%8%'%/%H$K$7$?$$$H(B<br>
&gt; $B!!(B &nbsp;$B;W$C$F$$$k$N$G$9$,!"$3$l$r(Bdicon$B%U%!%$%k$G5-=R(B<br>
&gt; $B!!(B &nbsp;$B$9$k$3$H$O2DG=$G$7$g$&$+!)(B<br>
<br>
$B0J2<$N$h$&$K;XDj$G$-$^$9!%(B<br>
<br>
&lt;component class=&quot;...&quot;&gt;<br>
 &nbsp;&lt;aspect&gt;<br>
 &nbsp; &nbsp;&lt;component class=&quot;org.seasar.framework.aop.interceptors.MockInterceptor&quot;&gt;<br>
 &nbsp; &nbsp; &nbsp;&lt;initMethod name=&quot;setReturnValue&quot;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;arg&gt;&quot;someMethod&quot;&lt;/arg&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;arg&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;!--$BLa$jCM$H$J$k%*%V%8%'%/%H$NDj5A(B
--&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;component class=&quot;...&quot;&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/component&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;/arg&gt;<br>
 &nbsp; &nbsp; &nbsp;&lt;/initMethod&gt;<br>
 &nbsp; &nbsp;&lt;/component&gt;<br>
 &nbsp;&lt;/aspect&gt;<br>
&lt;/component&gt;<br>
<br>
&lt;component&gt; $B$K$ODL>oDL$j(B &lt;property&gt; $B$d(B &lt;initMethod&gt;
$B$r(B<br>
$B;XDj$9$k$3$H$,$G$-$^$9!%(B<br>
<br>
<br>
-- <br>
&lt;component name=&quot;koichik&quot;&gt;<br>
 &nbsp; &nbsp;&lt;property name=&quot;fullName&quot;&gt;&quot;Koichi Kobayashi&quot;&lt;/property&gt;<br>
 &nbsp; &nbsp;&lt;property name=&quot;email&quot;&gt;&quot;koichik@improvement.jp&quot;&lt;/property&gt;<br>
 &nbsp; &nbsp;&lt;property name=&quot;blog&quot;&gt;&quot;</font></tt><a href=http://d.hatena.ne.jp/koichik><tt><font size=2>http://d.hatena.ne.jp/koichik&quot;&lt;/property&gt;<br>
&lt;/component&gt;<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>