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]<google-guice%[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