[Seasar-user:8106] Re: S2ContainerとTeedaのバージョンを変更するとInterceptorにDIされません

亀田一郎 [E-MAIL ADDRESS DELETED]
2007年 6月 6日 (水) 17:00:13 JST


07/06/06 に Koichi Kobayashi <[E-MAIL ADDRESS DELETED]> さんは書きました:
>
> 小林 (koichik) です.
>
> Date:    Wed, 6 Jun 2007 11:42:43 +0900
> From:    "亀田一郎" <[E-MAIL ADDRESS DELETED]>
> To:       [E-MAIL ADDRESS DELETED]
> Subject: [Seasar-user:8099] Re:
> S2ContainerとTeedaのバージョンを変更するとInterceptorにDIされません
>
> > > *** customizer.diconの内容は次の通りです。
>> >   <component name="loginInterceptor"
> >              class="test.interceptor.LoginInterceptor" />
>
> instance="prototype" を追加してください.
>
> >   <component name="loginInterceptor2"
> >              class="test.interceptor.LoginInterceptor2" />
>
> こちらにも instance="prototype" を追加してください.
> # Interceptor も SMART deploy で自動登録にした方が
> # いいと思いますが.その場合はデフォルトで prototype です.
>
> >   <component name="testCustomizer2"
> >              class="
> > org.seasar.framework.container.customizer.AspectCustomizer">
> >      <initMethod name="addInterceptorName">
> >        <arg>"loginInterceptor2"</arg>
> >      </initMethod>
> >      <property name="pointcut">"doAuth"</property>
> >   </component>
>
>     <property name="useLookupAdapter">true</property>
> を追加してください.

お手数をお掛けしております。
ご指定の内容でcustomizer.diconを変更して、テストを行いました。

下記の通り、インターセプターはerror画面に遷移し、
正常に動作しておりません。

DEBUG 2007-06-06 16:53:28,086 [http-8080-Processor25] クラス(
test.web.logincheck
2.Logincheck2Page[logincheck2_logincheck2Page])のコンポーネント定義を登録します
DEBUG 2007-06-06 16:53:28,136 [http-8080-Processor25] BEGIN
test.web.logincheck2
.Logincheck2Page#doAuth()
LoginInterceptor2...起動
DEBUG 2007-06-06 16:53:28,136 [http-8080-Processor25] END
test.web.logincheck2.L
ogincheck2Page#doAuth() : error


--
> <signature>
>   <name>Koichi Kobayashi</name>
>   <e-mail>[E-MAIL ADDRESS DELETED]</e-mail>
> </signature>
>
> _______________________________________________
> Seasar-user mailing list
> [E-MAIL ADDRESS DELETED]
> https://ml.seasar.org/mailman/listinfo/seasar-user
>
-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: http://ml.seasar.org/archives/seasar-user/attachments/20070606/b62bf386/attachment.html 


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