I think when you have a getter and setter for "yourObject", then you can set the object via hivemind in your service declaration, something like that:
<service-point id="ServiceID" interface="com.company.Interface"> <invoke-factory> <construct class="com.company.ServiceImpl"> <set property="yourObject" value="value"/> </construct> </invoke-factory> </service-point> Have a look a this: http://hivemind.apache.org/hivemind1/hivemind/BuilderFactory.html -----Ursprüngliche Nachricht----- Von: Peter Schröder [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 12. April 2007 12:03 An: Tapestry users Betreff: AW: T4 aso in service i get the ASM bye tapestrys autowiring. so there is no way to inject the object directly? i thought there would be, cause hivemind knows all state-objects from hivemodule... -----Ursprüngliche Nachricht----- Von: Holger Stolzenberg [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 12. April 2007 11:45 An: Tapestry users Betreff: AW: T4 aso in service We are going this way: public void service( IRequestCycle cycle ) { ApplicationStateManager manager = cycle.getInfraStructure().getApplicationStateManager(); YourObject o = (YourObject)manager.get( "HiveMindASOKey" ); } -----Ursprüngliche Nachricht----- Von: Peter Schröder [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 12. April 2007 10:55 An: Tapestry users Betreff: T4 aso in service hi, i want to access some state-object in an engine-service. currently i am doing that by injecting the ApplicationStateManager and getting the object from it. is there a more elegant way to do that (via hivemind?)? kind regards, peter -----Ursprüngliche Nachricht----- Von: Andreas Pardeike [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 12. April 2007 09:42 An: Tapestry users Betreff: Tapestry 5 Redirects On 12 apr 2007, at 03.29, Howard Lewis Ship wrote: > Every request is a page redirect in T5. Check the URLs in the browser > as you work through the application. Is that clever design? I can think of several reasons why this could be a bad idea. What's the reasoning behind this? Andreas Pardeike --------------------------------------------------------------------- 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] --------------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]