How to pass parameters to service constructor?
For example, I have service-point declared like this:
<service-point id="DAO">
  <invoke-factory>
     <contruct class="impl.DAOImpl">
<set-object property="dataSource" object="service-property:DataSourceProvider:dataSource"/>
     </contruct>
  </invoke-factory>
</service-point>

This code will create DAO service and will set it dataSource property with value 'dataSource' from 'DataSourceProvider' service. I wonder, if there a way to pass dataSource in DAOImpl constructor,
not in property?


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

Reply via email to