Hi 

If we use @SpringBean we have automaticaly a serialized proxy object. Is it
possible to use a transient variable to avoid the serialization at all ?

public MyPanel extends Panel{
   @SpringBean(name="myserviceBean")
    private transient MyServiceInterface service;
...
}


What do we need to inject the service after de-serialization ? We have the
ComponentInstantiationListener, maybe this would work also with transient ?




Martin
-- 
View this message in context: 
http://www.nabble.com/Avoid-serialization-troubles-with-static-members-tp22082899p22095373.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to