[Seasar-user:13124] Re: AOPについて
    Koichi Kobayashi
    [E-MAIL ADDRESS DELETED]
       
    2008年 3月  3日 (月) 15:30:13 JST
    
    
  
$B>.NS(B (koichik) $B$G$9!%(B
$B%m%0$OI,MW$J$H$3$m$rH4?h$7$F$/$@$5$$!%(B
$BBgNL$N%m%0$r4]$4$HE=$jIU$1$J$$$h$&$K!%(B
$B$=$7$F!$4|BT$7$F$$$k$3$H$H0c$&$H$3$m$,(B
$BJ,$+$k$h$&$K$7$F$/$@$5$$!%(B
Date:    Mon, 3 Mar 2008 10:17:13 +0800
From:    <[E-MAIL ADDRESS DELETED]>
To:      [E-MAIL ADDRESS DELETED]
Subject: [Seasar-user:13119] Re: AOP$B$K$D$$$F(B
> A$B!'%m%0$K$h$C$F!"A4$F$N(BDao$B$N(BMethod$B#s$r(BInterceptor$B$G$-$J$$$=$&$G$9!#!J(Bpointcut $B$O(B ".*"$B!K(B
$B%m%0$,=P$J$$$H$$$&0UL#$J$i!$(B
>  $B-!(Bcustomizer.dicon:
>        <component name="daoSupportAspectCustomizer" class="
> org.seasar.framework.container.customizer.AspectCustomizer">
>           <property name="interceptorName">"dao.interceptor"</property>
>        </component>
>        <component name="daoCustomizer" class="
> org.seasar.framework.container.customizer.CustomizerChain">
>           <initMethod name="addAspectCustomizer">
>              <arg>"dcwKengenInterceptor"</arg>
>              <arg>".*"</arg>
>              <arg>true</arg>
>           </initMethod>
>           <initMethod name="addCustomizer">
>              <arg>daoSupportAspectCustomizer</arg>
>           </initMethod>
>           <initMethod name="addCustomizer">
>              <arg>defaultCustomizer</arg>
>           </initMethod>
$B:G8e$N(B defaultCustomizer $B$r$=$NA0$N(B 
daoSupportCustomizer $B$h$jA0$K5-=R$7$F$/$@$5$$!%(B
> B$B!'(Brequest $B$r(Bredirect$B$"$H$9$0$KA+0\$7$^$;$s!#(B
>  $B-"(BDcwKengenInterceptor :
>         if (!kengen) {
>             if (url != null && url.indexOf("/view/m/") != -1) {
>                 response.sendRedirect(request.getContextPath()
>                         + "/view/m/cmn/login.html".toLowerCase());
>             } else {
>                 response.sendRedirect(request.getContextPath()
>                         + "/view/cmn/login.html".toLowerCase());
>             }
$B$3$N8e$K(B
facesContext.responseComplete();
$B$rDI2C$7$F$/$@$5$$!%(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 メーリングリストの案内