<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:$B%a%$%j%*(B
}
</style>
</head>
<body class='hmmessage'>
mitsuoka$B$G$9!#(B<BR>
<BR>
<BR>
$B2sEz$"$j$,$H$&$4$6$$$^$9!#(B<BR>
<BR>
$B0J2<$N$h$&$J%5%s%W%k$r:n@.$9$k$H<hF@$G$-$^$7$?!#(B<BR>
$B$"$H!":#8e$O(BSeasar2-user$B$K$F<ALd$5$;$F$$$?$@$-$^$9!#(B<BR>
$B$3$l$+$i$b$h$m$7$/$*4j$$$7$^$9!#(B<BR>
<BR>
[$B%=!<%9(B]<BR>
import javax.annotation.Resource;<BR>
import org.seasar.extension.jdbc.JdbcManager;<BR>import org.seasar.framework.container.S2Container;<BR>import org.seasar.framework.container.factory.SingletonS2ContainerFactory;<BR>
public class Test {<BR>
@Resource<BR> public JdbcManager jdbcManager;<BR>
/**<BR> * @param args<BR> */<BR> public static void main(String[] args) {<BR> SingletonS2ContainerFactory.init();<BR> S2Container container = SingletonS2ContainerFactory.getContainer();<BR> Test main = (Test) container.getComponent("Test");<BR>
main.exec();<BR>
}<BR>
public void exec() {<BR> System.out.println("exec:" + jdbcManager);<BR> }<BR>
}<BR>
<BR>
[app.dicon]<BR><?xml version="1.0" encoding="UTF-8"?><BR><!DOCTYPE components PUBLIC "-//SEASAR//DTD S2Container 2.4//EN" <BR> "<A href="http://www.seasar.org/dtd/components24.dtd">http://www.seasar.org/dtd/components24.dtd</A>"><BR><components><BR> <include path="convention.dicon"/><BR> <include path="aop.dicon"/><BR> <include path="s2jdbc.dicon"/><BR> <BR> <component name="Test" class="Test"/><BR></components><BR>
<BR>
<BR><BR>> <BR>> $B$R$,$G$9!#(B<BR>> > <BR>> > mitsuoka$B$H?=$7$^$9!#(B<BR>> > <BR>> > $B@h=5$"$?$j$h$j!"(BSeasar2$B$K$U$l$F$*$j!"$^$@%5%s%W%k%Y!<%9$+$i(B<BR>> > $BH4$1=P$;$F$$$^$;$s!#(B<BR>> > <BR>> > $B8=:_!"(BSeasar2+S2JDBC$B$r;HMQ$7$F%"%W%j%1!<%7%g%s:n@.$7$F$*$j!"(B<BR>> > $B%"%N%F!<%7%g%s$GHs>o$K:$$C$F$*$j$^$9!#(B<BR>> > <BR>> > JdbcManager$B$r(Bmain$B%/%i%9$K$F(B@Resource$B$G@_Dj$7$h$&$H$9$k$H(B<BR>> > $B%$%s%9%?%s%9$,3JG<$5$l$F$*$j$^$;$s!#$7$+$7!"(B<BR>> > .getComponent(JdbcManager.class);$B$9$k$H<hF@$G$-$k>uBV$G$9!#(B<BR>> > $B@_Dj$H$7$F2?$,ITB-$7$F$$$k$N$G$7$g$&$+!)(B<BR>> > <BR>> > $B8D?ME*$K%"%N%F!<%7%g%s$,M-8z$K$J$k$N$O!"(BSeasar2$B$KEPO?$7$F$$$k(BDI<BR>> > $B$+$i$G$O$J$$$+$H$b;W$$!"(Bmain$B$G$O%"%N%F!<%7%g%s<+BN(BNG$B$J$N$+$J$H$b!#!#(B<BR>> > <BR>> main$B%a%=%C%I$,Dj5A$5$l$F$$$k%/%i%9$,!"(BSeasar2$B$G4IM}$5$l$F$$$J$$$J$i(B<BR>> @Resource$B$O!"0UL#$,$"$j$^$;$s!#(B<BR>> SingletonS2Container.getComponent()<BR>> $B$G<hF@$7$F$/$@$5$$!#(B<BR>> <BR>> $B8e!"(BSeasar2$B$N;H$$J}$K4X$9$k<ALd$O!"(BSeasar-user ML$B$N$[$&$,(B<BR>> $B$$$$$s$8$c$J$$$+$J$H;W$$$^$9!#(B<BR>> <BR>> $B$h$m$7$/$*4j$$$7$^$9!#(B<BR>> _______________________________________________<BR>> Seasar-dev mailing list<BR>> Seasar-dev@ml.seasar.org<BR>> https://ml.seasar.org/mailman/listinfo/seasar-dev<BR><BR><br /><hr />$B!V%V%j!<%U%1!<%9$+$i$*0z1[$7!WL5NA(B25GB$B$N%U%!%$%kJ]B8%5!<%S%9(B <a href='http://clk.atdmt.com/GBL/go/127679683/direct/01/' target='_new'>Hotmail $B%f!<%6!<$J$i!"$9$0$KMxMQ2DG=$G$9!*(B</a></body>
</html>