To override the default implementation of a hivemind service, use the <implementation> element in your hivemodule.xml. e.g.
<implementation service-id="tapestry.request.RequestLocaleManager"> <invoke-factory model="pooled"> <construct class="your-implementation-class-name-here"> <!-- To access session objects (i.e. application state objects), or the WebSession itself, you can inject them here --> <!-- Details here: http://jakarta.apache.org/hivemind/hivemind/BuilderFactory.html --> </construct> </invoke-factory> </implementation> Paul Giampaolo Tomassoni wrote: > Dears, > > I need to relay on a session object instead of a client cookie to handle the > user locale. > > How am I supposed to override the RequestLocaleManager default > implementation? Also, since I would need to access session objects from the > new implementation of RequestLocaleManager, I would first need to now if this > is possible at all. > > Regards, > > ----------------------------------- > Giampaolo Tomassoni - IT Consultant > Piazza VIII Aprile 1948, 4 > I-53044 Chiusi (SI) - Italy > Ph: +39-0578-21100 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
smime.p7s
Description: S/MIME Cryptographic Signature