Perfect example. Is there any documentation where you would find such explanation about the applicationStateManager? I googled for "infrastructure:applicationStateManager" and there were 39 results (6 displayed). No too amazing ;-)
Thanks again! On 10/12/06, Patrick Moore <[EMAIL PROTECTED]> wrote:
Inject the application state manager object. Then in the thread get the actual state object. <service-point id="sessionFactory" interface="com.transparentpolitics.core.appstate.TransPolSessionManager"> <invoke-factory> <construct class=" com.transparentpolitics.core.appstate.TransPolSessionManagerImpl" initialize-method="init"> <set-object property="stateManager" value="infrastructure:applicationStateManager"/> </construct> </invoke-factory> </service-point> and then : transPolSession = (TransPolSession) stateManager.get ("USER_INFORMATION"); On 10/11/06, Hajaansh <[EMAIL PROTECTED]> wrote: > I have an application state object whos scope is "session" and I have a > service object whos scope is threaded. Is it possible to inject the > application state object into the service object via hivemind? If then how? > > Cheers, > > Hajaansh > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]