[seasar-dotnet:567] Re: Daoがインジェクションされずにエラー発生

Kazuya Sugimoto [E-MAIL ADDRESS DELETED]
2007年 8月 2日 (木) 13:17:38 JST


杉本です。


>                <component name="ISampleDao" class="OperationMonitoringSystem.Persistence.Dao.ISampleDao">
>                </component>

藤井さんも書かれていますが、ISampleDaoでおそらくS2Dao.NETを利用するの
だと思いますが、この部分でS2Dao.NETのインターセプターを定義する必要が
あります。

<component name="ISampleDao"
class="OperationMonitoringSystem.Persistence.Dao.ISampleDao">
    <aspect>DaoInterceptor</aspect>
</component>


"DaoInterceptor"の部分はS2Dao.diconで定義されているはずのS2Daoの
インターセプターのコンポーネント名にかえてください。

-- 
Kazuya Sugimoto
Microsoft MVP Visual Developer - Solutions Architect
http://d.hatena.ne.jp/sugimotokazuya/


seasar-dotnet メーリングリストの案内