Hello All,
I have many DAOs each of them accepts the same Session service:
<service-point id="PersonDao" interface="forms.IDao">
<invoke-factory model="singleton">
<construct class="ForumDao">
<set-service property="session" service-id="Session"/>
<set-object property="persistentClass" value="class:model.Person" />
</construct>
</invoke-factory>
</service-point>
<service-point id="AddressDao" interface="forms.IDao">
<invoke-factory model="singleton">
<construct class="AddressDao">
<set-service property="session" service-id="Session"/>
<set-object property="persistentClass" value="class:model.Address" />
</construct>
</invoke-factory>
</service-point>
Is it possible to create some "base" service-point definition with
Session injection and extend all my DAOs from it?
(Analogue for Spring "parent" attribute)
--
aku
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]