I use Hiveutils, (formerly Hivetranse) Object Builder for dependency injection in POJOS, your issue has been discussed several times on the list, search the list and if you can't find more info regarding this matter I can send you some code that I have posted before in this list.

http://hivetranse.sourceforge.net/quickstart.html#start.objectbuilder


best regards.

Raul Raja.

Leo Sakhvoruk wrote:
Hi, I'm fairly new to Tap 4 but have been using Tap 3 for over a year. I'm having some trouble configuring an ASO for the global application object using hivemind. I've seen a couple of threads in the list that addressed the issue but none seem to have the information I need (at least from what I can tell). Basically I'm reading in an xml configuration file in the ASO and need to be able to get the context path from the BaseEngine.

So my question is can I inject the engine into the ASO in hivemind configuration or do I need to do something else and if so what?

Here is my current configuration from hivemind.xml:

   <contribution configuration-id="tapestry.state.ApplicationObjects">
       <state-object name="global" scope="application">
       <create-instance class="client.config.ApplicationConfig"/>
     </state-object>    </contribution>

Thanks

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




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

Reply via email to