$B>.NSMM(B<br>$B2sEz$"$j$,$H$&$4$6$$$^$9!#(B<br>$B$$$m$$$m;n$7$?$N$G$9$,!"(BDao$B$r(BDI$B$9$k$N$K(B<br>ReceptionDao receptiondao = (ReceptionDao) SingletonS2Container.getComponent(&quot;receptionDao&quot;);<br>$B$G(Bdao$B$r(BDI$B$9$k;v$O=PMh$^$7$?!#(B<br><br>$BB>$N(Bapp.dicon$B$K(B&lt;component&gt;$B$rEPO?$9$k!#(B<br>$BL>A0$r(BService$B$KJQ99$9$k$O=PMh$^$;$s$G$7$?!#(B<br>
<br>$B?=$7Lu$"$j$^$;$s$,!"$b$&(B1$BEY<ALd$5$;$F2<$5$$!#(B($B6qBNE*$K=q$+$;$F$$$?$@$-$^$9(B)<br>$BA0Ds>r7o!"(B<br>&nbsp;chura$B%W%m%8%'%/%H$G$N3+H/!J(Bteeda-1.0.12.sp1$B!K(B<br><br>$B!!%a!<%k$rDj4|E*$KAw?.$9$k%m%8%C%/$r:n@.(B(MailService.java)<br><br>$B!!(Bsystem.web.mail$B%Q%C%1!<%8$K(BMailService.java$B$rG[CV(B<br>$B!!$3$N8F$S=P$7$O(Bs2-quartz-0.0.2$B$rMxMQ$7$F(BMailService$B$N%a%=%C%I(B(doProcess)$B$r#1#0ICKh$K8F$s$G$$$k!#(B<br>
<br>quartz$B$N@_Dj$O(Bcustomizer.dicon$B$KDj5A(B<br>$B"-"-"-"-"-"-"-(B<br>&nbsp; &lt;component class=&quot;org.quartz.impl.StdSchedulerFactory&quot; /&gt;<br>&nbsp; &lt;component class=&quot;org.seasar.quartz.SchedulerImpl&quot;&gt;<br>&nbsp;&nbsp;&nbsp; &lt;initMethod name=&quot;start&quot; /&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;initMethod name=&quot;scheduleJob&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;arg&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;component class=&quot;org.seasar.quartz.MethodInvokerJobDetail&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;property name=&quot;name&quot;&gt;&quot;incrementCounterJob&quot;&lt;/property&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;property name=&quot;component&quot;&gt;counterService&lt;/property&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;property name=&quot;method&quot;&gt;&quot;doProcess&quot;&lt;/property&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/component&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/arg&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;arg&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;component class=&quot;org.seasar.quartz.CronTrigger&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;property name=&quot;name&quot;&gt;&quot;incrementCounterTrigger&quot;&lt;/property&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;property name=&quot;cronExpression&quot;&gt;&quot;0/10 * * ? * *&quot;&lt;/property&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/component&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/arg&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/initMethod&gt;<br>&nbsp;&nbsp;&nbsp; &lt;destroyMethod name=&quot;shutdown&quot; /&gt;<br>&nbsp; &lt;/component&gt;<br>&nbsp; &lt;component class=&quot;system.web.mail.MailService&quot; name=&quot;counterService&quot; /&gt;<br>
<br>MailService.java$B$K(B<br>public class SendinfoMail {<br>&nbsp;&nbsp;&nbsp; private MailmagainfDao mailmagadao;<br>&nbsp;&nbsp;&nbsp; private CustmmstDao custmmstdao;<br>$B$H(Bsystem.dao$BG[2<$N(Bdao$B%U%!%$%k$rDj5A!J(Bgetter,setter$B$bDj5A$7$F$"$j$^$9!K(B<br><br>$B$=$3$G!"(Bquartz$B$+$i(BdoProcess$B%a%=%C%I$,8F$P$l!"3F(Bdao$B$r;H$*$&$H$9$k$H(B<br>
NullPointer$B$G%(%i!<$H$J$j$^$9!#(B<br><br>$B$^$?!"(B<br>app.dicon$B$K(B<br>&lt;components&gt;<br>&nbsp;&nbsp;&nbsp; &lt;include path=&quot;convention.dicon&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;include path=&quot;aop.dicon&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;include path=&quot;app_aop.dicon&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;include path=&quot;teedaExtension.dicon&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;include path=&quot;dao.dicon&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;include path=&quot;dxo.dicon&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &lt;component class=&quot;system.web.mail.MailService&quot;&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/component&gt;<br>&nbsp;&nbsp;&nbsp; <br>&lt;/components&gt;<br><br>$B$N$h$&$KDj5A$7$F$_$^$7$?$,!"$I$&$b(Bdao$B$,(BDI$B$5$l$^$;$s!#(B<br><br>$B$I$3$+!"B>$K=$@52U=j$,$"$k$N$G$7$g$&$+!)(B<br><br>$B$h$m$7$/$*4j$$CW$7$^$9!#(B<br><br><div><span class="gmail_quote">08/04/08 $B$K(B <b class="gmail_sendername">Koichi Kobayashi</b> &lt;<a href="mailto:koichik@improvement.jp">koichik@improvement.jp</a>&gt; $B$5$s$O=q$-$^$7$?(B:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
$B>.NS(B (koichik) $B$G$9!%(B<br> <br> Date:&nbsp;&nbsp;&nbsp;&nbsp;Tue, 08 Apr 2008 14:48:42 +0900<br> From:&nbsp;&nbsp;&nbsp;&nbsp;Yasuo Higa &lt;<a href="mailto:higa@isid.co.jp">higa@isid.co.jp</a>&gt;<br> <br>To:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:seasar-user@ml.seasar.org">seasar-user@ml.seasar.org</a><br>
 <br>Subject: [Seasar-user:13631] Re: Teeda $B$N(BDao$B%/%i%9$N(BDI$B$K$D$$$F(B<br> <br> &gt; $BC1$K(Btetedoing$B$r(BTeteService$B$K%j%M!<%`$9$l$P$$$$$3$H$G$9!#(B<br> <br> tetedoing $B$O(B Thread $B$r;}$C$F$k(B ($B$"$k$$$O(B<br> Thread $B$N%5%V%/%i%9!)(B) $B$i$7$$$N$G(B Service $B$K(B<br> $B$7$J$$J}$,$$$$$h$&$J!%(B<br> <br><br> <br>
 --<br> &lt;component name=&quot;koichik&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;property name=&quot;fullName&quot;&gt;&quot;Koichi Kobayashi&quot;&lt;/property&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;property name=&quot;email&quot;&gt;&quot;<a href="mailto:koichik@improvement.jp">koichik@improvement.jp</a>&quot;&lt;/property&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;property name=&quot;blog&quot;&gt;&quot;<a href="http://d.hatena.ne.jp/koichik">http://d.hatena.ne.jp/koichik</a>&quot;&lt;/property&gt;<br> &lt;/component&gt;<br> <br> _______________________________________________<br>
 <br>Seasar-user mailing list<br> <a href="mailto:Seasar-user@ml.seasar.org">Seasar-user@ml.seasar.org</a><br> <a href="https://ml.seasar.org/mailman/listinfo/seasar-user">https://ml.seasar.org/mailman/listinfo/seasar-user</a><br>
 </blockquote></div><br>