I have an application state object, that I would like to have services set on 
whenever one is created (ie. standard dependecy injection, not annotation 
injection or anything like that)

I tried this in my hivemodule.xml:

<contribution configuration-id="tapestry.state.ApplicationObjects">
  <state-object name="client-state" scope="session">
    <invoke-factory>
      <construct class="com.itglovebox.esmart.state.ClientState">
        <set-object property="esmartService" value="spring:esmartService"/>
      </construct>
    </invoke-factory>
  </state-object>
</contribution>

But I am getting an exception when the ASO is first created. So I am wondering 
if DI is supported for creating ASOs, and if so, what is the correct 
configuration in hivemodule.xml.

regards,
Scott

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

Reply via email to