Dear pluto portlet container,
I try to extend pluto portlet container, and make my own portal (please do not ask why), and after 2 weeks, I managed to extend it.
First, I just wanna ask: Does pluto container cached its portlet instance (extended from GenericPortlet) into container, as Singleton?
Because I found that every new session created, are actually served by the same portlet instance, and I found this because I put a custom state (a field in a class) on my portlet, and when I changed that custom state in one session, I got the same state on the other session.
Second question: How to extend the pluto portlet container, so it will spawn a new portlet (instead of using cached portlet) every time there is a new session?
Or am I doing a wrong approached?
Thanks for your advice