$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("receptionDao");<br>$B$G(Bdao$B$r(BDI$B$9$k;v$O=PMh$^$7$?!#(B<br><br>$BB>$N(Bapp.dicon$B$K(B<component>$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> 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> <component class="org.quartz.impl.StdSchedulerFactory" /><br> <component class="org.seasar.quartz.SchedulerImpl"><br> <initMethod name="start" /><br>
<initMethod name="scheduleJob"><br> <arg><br> <component class="org.seasar.quartz.MethodInvokerJobDetail"><br> <property name="name">"incrementCounterJob"</property><br>
<property name="component">counterService</property><br> <property name="method">"doProcess"</property><br> </component><br> </arg><br>
<arg><br> <component class="org.seasar.quartz.CronTrigger"><br> <property name="name">"incrementCounterTrigger"</property><br> <property name="cronExpression">"0/10 * * ? * *"</property><br>
</component><br> </arg><br> </initMethod><br> <destroyMethod name="shutdown" /><br> </component><br> <component class="system.web.mail.MailService" name="counterService" /><br>
<br>MailService.java$B$K(B<br>public class SendinfoMail {<br> private MailmagainfDao mailmagadao;<br> 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><components><br> <include path="convention.dicon"/><br> <include path="aop.dicon"/><br> <include path="app_aop.dicon"/><br>
<include path="teedaExtension.dicon"/><br> <include path="dao.dicon"/><br> <include path="dxo.dicon"/><br> <br> <component class="system.web.mail.MailService"><br>
</component><br> <br></components><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> <<a href="mailto:koichik@improvement.jp">koichik@improvement.jp</a>> $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: Tue, 08 Apr 2008 14:48:42 +0900<br> From: Yasuo Higa <<a href="mailto:higa@isid.co.jp">higa@isid.co.jp</a>><br> <br>To: <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> > $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> <component name="koichik"><br> <property name="fullName">"Koichi Kobayashi"</property><br> <property name="email">"<a href="mailto:koichik@improvement.jp">koichik@improvement.jp</a>"</property><br>
<property name="blog">"<a href="http://d.hatena.ne.jp/koichik">http://d.hatena.ne.jp/koichik</a>"</property><br> </component><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>