Interesting idea, but there is no such option in the moment.

Achim

Am Tue, 15 Nov 2005 14:21:16 +0100 schrieb Alexandr Kundirenko <[EMAIL PROTECTED]>:

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)




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to