<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body><BR>$B$?$+$N$jMM(B<BR>
<BR>
koichi$B$G$9!#$*@$OC$K$J$j$^$9!#(B<BR>
$B!JA02s$NJV?.$,JL%9%l%C%I$K$J$C$F$7$^$$?=$7Lu$4$6$$$^$;$s!#(B<BR>
$B$H=q$-$D$D!"$3$N%a!<%k$,$I$&$J$k$+IT0B$J$N$G$9$,!&!&!&!K(B<BR>
<BR>
<BR>
>>> $B6&DL$N=hM}$r7Q>5$5$;$?JL!9$N%5!<%S%9$r!"%/%i%$%"%s%H$+$i8F$SJ,$1$?$$$?$a(B<BR>
>>> baseURL$BAjEvItJ,$rF0E*$KCV$-49$($?$$$H;W$C$F$$$^$9!#(B<BR>
<BR>>><I> $B8=>u$N5!G=$G$O!"%/%i%$%"%s%H$N=hM}$G!"(B> $BF0E*$K(BURL$B$r@_Dj$9$k$3$H$O$G$-$J$$$N$G$9$,!"(B</I><BR>
<BR>
>$B$b$7$+$9$k$HJ}K!$,$"$k$+$b$H;W$C$F$$$?$N$G$9$,!&!&!&(B<BR>
>$B$G$b!"5$;}$A$h$/<!$N9TF0$K0\$l$^$9!0!0(B;<BR>
<BR>
$B$H=q$$$?$N$G$9$,!"(B<BR>
dicon$B%U%!%$%k$r;HMQ$7$J$$$G%"%9%Z%/%H$rAH$_9~$`J}K!$H$$$&%3%i%`$rFI$s$@$N$G(B<BR>
$B0J2<$r;n$7$F$_$^$7$?!#(B<BR>
<BR>
------------------------------------------------------<BR>
$B!Z(Bs2axis2-client.dicon$B![(B $B!!(B0.3.0$B$K$7$^$7$?!0!0(B<BR>
<components><BR>
<component class="org.apache.axis2.description.AxisService" autoBinding="none"/><BR>
<BR>
<component name="ioRemoting" instance="prototype" class="hoge.org.seasar.remoting.common.interceptor.HogeRemotingInterceptor"><BR>
<initMethod name="setConnector"><BR>
<arg>connector</arg><BR>
</initMethod><BR>
</component><BR>
<BR>
<component name="connector" instance="prototype" class="org.seasar.remoting.axis2.connector.AxisInOutConnector"><BR>
<property name="baseURL">new java.net.URL("http://interimURL/")</property><BR>
</component><BR>
</components><BR>
<BR>
$B!Z%/%i%$%"%s%H$G%5!<%S%9$N%3%s%]!<%M%s%H$r<hF@$9$k=hM}![(B<BR>
<BR>
* @param iface $B%$%s%?!<%U%'%$%9%/%i%9(B<BR>
* @param baseURL $B%5!<%S%9$N%Y!<%9(BURL<BR>
<BR>
protected Object getComponent(Class iface, String baseURL) throws MalformedURLException { <BR>
<BR>
HogeRemotingInterceptor interceptor = (HogeRemotingInterceptor)container.getComponent("ioRemoting");<BR>
<BR>
interceptor.setConnectBaseURL(new URL(baseURL)); $B"+(Bconnector$B$N(BbaseURL$B$rJQ99$9$k%a%=%C%I(B<BR>
<BR>
interceptor.setRemoteName(iface.getSimpleName());<BR>
<BR>
// $B<jF0$G%"%9%Z%/%H$rAH$_9~$`(B<BR>
Aspect aspect = new AspectImpl(interceptor, new PointcutImpl(iface));<BR>
AopProxy aopProxy = new AopProxy(iface, new Aspect[]{aspect});<BR>
return aopProxy.create();<BR>
}<BR>
------------------------------------------------------<BR>
<BR>
$B0l1~Kh2s(BbaseURL$B$rJQ99$G$-$k$h$&$J$N$G$9$,!"(B<BR>
s2axis2$B!"(Bs2$BEy$NFbIt=hM}$K$D$$$F$O!"0lIt$r$o$+$C$?$h$&$J5$$K$J$C$F$$$k$@$1$H$$$&>uBV$G$9!#(B<BR>
$B$=$l$G2?$+LdBj$,LdBj$,H/@8$9$k2DG=@-$,$"$l$P;XE&$7$F$$$?$@$1$l$P9,$$$G$9!#(B<BR>
<BR>
$B$h$m$7$/$*4j$$$7$^$9!#(B<BR>
<BR><br /><hr />$B?M5$%?%l%s%H$dGPM%!"%"!<%F%#%9%H$J$ICxL>?M$N!V(BLive.jp$B!W$r0l5s8x3+!*(B <a href='http://clk.atdmt.com/GBL/go/msnjpjhm0110000005gbl/direct/01/' target='_new'>My Live Story $B!V?M$N?t$@$1(B Story $B$,$"$k!#!W(B</a></body>
</html>