-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jacek,

Jacek Olszak wrote:
> I try to describe my situation. I have a couple of session beans which
> have transient properties. Those properties are in fact references to
> Spring application beans. When the session is activated after restart
> I want to inject spring beans again into restored session beans.
> Unfortunately Spring's ContextLoaderListener has not been executed
> before, so the Spring Context is not yet created (so I can't get
> application beans from it).

Who not do lazy restoration? Leave a marker in the session that says
"object X goes here" and then load "object X" when you /need/ it,
instead of right when the session is re-loaded.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHPg7I9CaO5/Lv0PARAt/DAJoCySOk9fR9toM/jJxnZcxbd2TnbACfRWcn
vRLxIftL4AxLTuLW9wZx/qE=
=5ht8
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to