[Seasar-user:13102] Re: AOPについて

李乐 [E-MAIL ADDRESS DELETED]
2008年 2月 29日 (金) 11:40:20 JST


égß`¤¤¤Þ¤·¤¿¡£È«²¿¤ÎDao·½·¨¤Ç¤Ï¤Ê¤¯¡¢×ԄӵĤË×÷³É¤µ¤ì¤¿£ó£ñ£ì·½·¨£¨update,insert,delete,annotation¤òʹ¤Ã¤Æ·½·¨¤Ê¤É£©¤ÏIntercept¤µ¤ì¤Ê¤¤¤½¤¦¤Ç¤¹¡£
sqlファイルが贋壓すれば、Interceptできる。
¤½¤¦¤Ç¤¹¤«¤Ê£¿


2008/2/29, 川赤 <[E-MAIL ADDRESS DELETED]>:
>
> cooldeployを聞ったら、Daoをinterceptすることができないそうです。
> ¤É¤¦¤¹¤ì¤Ð¤¤¤¤£¿
>
>
> 2008/2/29, 川赤 <[E-MAIL ADDRESS DELETED]>:
> >
> > ありがとうございます。
> > ¤·¤«¤·¡¢Dao¤Îupdate¤äDelete¤òintercept¤·¤¿¤¤ˆöºÏ¤Ï¤É¤¦¤¹¤ë£¿
> >
> > <component name="daoCustomizer"
> >    class="org.seasar.framework.container.customizer.CustomizerChain">
> >  <initMethod name="addAspectCustomizer">
> >    <arg>"myThrowableInterceptor"</arg>
> >    <arg>"update,delete"</arg>
> >    <arg>true</arg>
> >  </initMethod>
> >  <initMethod name="addCustomizer">
> >    <arg>s2DaoCustomizer</arg>
> >  </initMethod>
> >
> > </component>
> > ÒÔÉϤΤ褦¤ËÓ›Êö¤·¤Æ¤âÒÛ¤ËÁ¢¤¿¤Ê¤¤¤½¤¦¤Ç¤¹¡£
> >
> > 2008/2/28, Koichi Kobayashi <[E-MAIL ADDRESS DELETED]>:
> > >
> > > СÁÖ (koichik) ¤Ç¤¹£®
> > >
> > > Date:    Thu, 28 Feb 2008 17:31:07 +0800
> > > From:    "¥¿ä–¥è" <[E-MAIL ADDRESS DELETED]>
> > > To:      [E-MAIL ADDRESS DELETED]
> > > Subject: [Seasar-user:13095] Re: AOPについて
> > >
> > > > ¤Ê¤é¤Ð¡¢Dao¤òIntercept¤·¤¿¤¤ˆöºÏ¤Ï¤É¤¦¤¹¤ë¡£
> > > >
> > > > <component name="daoCustomizer"
> > > >    class="org.seasar.framework.container.customizer.CustomizerChain
> > > ">
> > > >  <initMethod name="addAspectCustomizer">
> > > >    <arg>"myThrowableInterceptor"</arg>
> > > >    <arg>".*"</arg>
> > > >    <arg>true</arg>
> > > >  </initMethod>
> > > > </component>
> > > > ???
> > >
> > > ¤½¤ì¤Ç´óÕÉ·ò¤Ç¤¹£®
> > > S2Dao ¤òʹ¤Ã¤Æ¤¤¤ë¤Ê¤é£¬myThrowableInterceptor ÓäÎ
> > > addAspectCustomizer() は S2Dao 喘の addCustomizer()
> > > ¤è¤êÇ°¤ËÓ›Êö¤·¤Æ¤¯¤À¤µ¤¤£®
> > >
> > > <component name="daoCustomizer"
> > >    class="org.seasar.framework.container.customizer.CustomizerChain">
> > > <initMethod name="addAspectCustomizer">
> > >    <arg>"myThrowableInterceptor"</arg>
> > >    <arg>".*"</arg>
> > >    <arg>true</arg>
> > > </initMethod>
> > > <initMethod name="addCustomizer">
> > >    <arg>s2DaoCustomizer</arg>
> > > </initMethod>
> > > </component>
> > >
> > >
> > >
> > > --
> > > <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 mailing list
> > > [E-MAIL ADDRESS DELETED]
> > > https://ml.seasar.org/mailman/listinfo/seasar-user
> > >
> > >
> >
>
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
URL: http://ml.seasar.org/archives/seasar-user/attachments/20080229/108e1789/attachment-0001.html 


Seasar-user メーリングリストの案内