well, at the very end of the process, you need an object implementing
the StateObjectPersistenceManager interface.
but you probably need more than that : you will need a:
1. a CustomSessionFactory service which finds your session (implements
ServiceImplementationFactory (hivemind)
2. a threaded CustomSession service - which gets produced in no. 1 -
this is your custom session...
3. a StateObjectPersistenceManager service, (say CustomSessionManager)
which is the object mentioned above. no. 2 cat be autowired into it -
when you are done,
you add:
<contribution
configuration-id="tapestry.state.StateObjectPersistenceManagers">
<manager object="service:myManagerServiceId" scope="myScopeName" />
</contribution>
to a hivemodule, and you are done.
take a look in
the wiki -> tapestry 4 -> howtos -> hivemind4beginners
theserverside -> hivemind article.
this will let you start going.
hope that helps,
Cheers,
Ron
Anders Bengtsson wrote:
Ron Piterman wrote:
BUT - AFAIK, tapestry applications do not use WebSession directly -
rather, they use a persistance strategy which is called session and uses
the session to store objects.
If you create your own persistance strategy and use it exclusivley, the
session will be left unused...
look here:
http://jakarta.apache.org/tapestry/tapestry/hivedocs/module/tapestry.state.html
A persistance strategy sounds like exactly what I'm looking for!
However, I don't understand that documentation page. There's the module
"tapestry.state", and a lot of factories that are somehow related to it?
Is there some more high-level overview of what all of these modules and
factories are and how they relate to each other? (JavaDoc doesn't help
much without a high-level understanding).
Thanks
/Anders
---------------------------------------------------------------------
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]