[Seasar-user:15076] Re: 複数DBへの接続
Koichi Kobayashi
[E-MAIL ADDRESS DELETED]
2008年 7月 17日 (木) 17:00:26 JST
$B>.NS(B (koichik) $B$G$9!%(B
Date: Thu, 17 Jul 2008 15:57:04 +0900
From: $BzI86!!51M:(B <[E-MAIL ADDRESS DELETED]>
To: [E-MAIL ADDRESS DELETED]
Subject: [Seasar-user:15068] Re: $BJ#?t(BDB$B$X$N@\B3(B
> ordersheet.dao.PeopleDao$B$NJ}$O$&$^$/9T$/$N$G$9$,!"(B
> ordersheet.dao.daooldcas$B$NJ}$OAjJQ$o$i$:BLL\$G$9!#(B
$BBLL\$H$$$&$N$O6qBNE*$K$I$N$h$&$J8=>]$G$7$g$&$+!)(B
$BNc30$,5/$-$F$$$k$J$i%9%?%C%/%H%l!<%9$r8+$;$F$/$@$5$$!%(B
$B$^$?!$=$@58e$N(B customizer.dicon (daoCustomizer) $B$b(B
$B8+$;$F$/$@$5$$!%(B
> coustomizer.dicon$B$N(B<arg></arg>$B$K%;%C%H$9$kCM$O(B
> $B#1HVL\!'(BDAO$B$N%Q%C%1!<%8L>(B
> $B#2HVL\!'$J$s$NL>A0$[E-MAIL ADDRESS DELETED],I=8=$J$s$G$7$g$&!)(B
$B%/%i%9L>$K%^%C%A$9$[E-MAIL ADDRESS DELETED],I=8=$G$9!%(B
http://s2container.seasar.org/2.4/ja/DIContainer.html#CustomizerConfigExample
> $B>.NS$5$s$N8@$&DL$j$K$d$C$F$$$k$N$G$9$,!":o=|$9$k0UL#$,(B
> $BJ,$+$i$J$$$G$d$C$F$$$k$N$G!"5?Ld$K;W$$$^$7$?!#(B
<initMethod name="addClassPattern">
<arg>"ordersheet.dao.daotims"</arg>
<arg>".*Dao"</arg>
</initMethod>
$B$,$"$k$H!$(Bordersheet.dao.daotims $B%Q%C%1!<%8$G$O$J$$(B
ordersheet.dao.PeopleDao $B$K$O(B daotims.interceptor $B$,(B
$BE,MQ$5$l$J$$$+$i$G$9!%(B
$B$b$A$m$s(B ordersheet.dao.daooldcas $B0J2<$G$b$J$$$N$G!$(B
daooldcas.interceptor $B$bE,MQ$5$l$:!$7k2L$H$7$F(B
$B%a%=%C%I$N<BAu$,M?$($i$l$:!$(BNoSuchMethodError $B$K(B
$B$J$j$^$9!%(B
ordersheet.dao.daooldcas $B%Q%C%1!<%8$G$O$J$$(B
Dao $B$K$OL5>r7o$K(B daotims.interceptor $B$rE,MQ$7$F(B
$BBg>fIW$=$&$J$N$G!$(BaddClassPattern $B$r30$;$P(B
$BBg>fIW$H$$$&$3$H$G$9!%(B
$B$J$*!$(Bordersheet.dao.daooldcas $B0J2<$N(B Dao $B$K$b(B
daotims.interceptor $B$,E,MQ$5$l$F$7$^$$$^$9$,!$(B
$[E-MAIL ADDRESS DELETED]$K(B daooldcas.interceptor $B$,E,MQ$5$l$k$N$G(B
$BLdBj$O$"$j$^$;$s!%(B
$B$b$75$$K$J$k$J$i!$(B
<component name="daotimsSupportAspectCustomizer"
class="org.seasar.framework.container.customizer.AspectCustomizer">
<property name="interceptorName">"daotims.interceptor"</property>
<initMethod name="addIgnoreClassPattern">
<arg>"ordersheet.dao.daooldcas"</arg>
<arg>".*Dao"</arg>
</initMethod>
</component>
$B$H$7$F(B ordersheet.dao.daooldcas $B%Q%C%1!<%8$r(B
$B=|30$7$F$b9=$$$^$;$s!%(B
--
<component name="koichik">
<property name="fullName">"Koichi Kobayashi"</property>
<property name="email">"[E-MAIL ADDRESS DELETED]"</property>
<property name="blog">"http://d.hatena.ne.jp/koichik"</property>
</component>
Seasar-user メーリングリストの案内