okay thanks - I'll check the Wicket-like approach maybe I can get this
work.

M.C.

On Feb 1, 12:31 am, Eelco Hillenius <[email protected]> wrote:
> You'd have to either do that - again and again - or use a Wicket-like
> trick where you abstract re-getting of a value when you deserialize
> behind a proxy.
>
> Eelco
>
> On Sun, Jan 31, 2010 at 3:01 PM, Dhanji R. Prasanna <[email protected]> wrote:
>
>
>
> > You're looking for readResolve:
> >http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html
> > Dhanji.
>
> > On Mon, Feb 1, 2010 at 12:51 AM, mc <[email protected]> wrote:
>
> >> Hi,
>
> >> I'd like to use Guice to inject dependencies (e.g. Services) into
> >> classes that got serialized at runtime (by framework != WICKET). I
> >> wouldn't want to make all my injected dependencies implementing
> >> Serializable interface. I tried static injection - that worked but I
> >> do not find it the correct way. I tried using build in provider but
> >> that isn't serializable.
>
> >> Does anyone can have a solution that would help me.
>
> >> Many thanks!
>
> >> M.C.
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "google-guice" group.
> >> To post to this group, send email to [email protected].
> >> To unsubscribe from this group, send email to
> >> [email protected].
> >> For more options, visit this group at
> >>http://groups.google.com/group/google-guice?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "google-guice" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> >http://groups.google.com/group/google-guice?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en.

Reply via email to