You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Alfonso Quiroga <al...@gmail.com> on 2009/09/08 21:47:27 UTC

saving a interface in session

Hi! I want to ask something, maybe someone did this and can answer me.
I have the "Wizard" interface, and 2 o 3 implementations. As I want to
store in session only one of them in a specific moment (user can't use
2 wizards in the same time), I would like to store the interface, say:

    @SessionState
    private Wizard currentWizard;

My question maybe is performance, I mean, when WizardImpl1 is in
session, then I change it to WizardImpl2.. talking about session size,
Impl1 will disapear by the GC? or both impl will be in the session?
thanks in advance, and sorry for my english

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org