Comment by limpbizkit:
@Leigh: You need to give the @AssistedAnnotation a name. Use the same name
in both the factory method and in the constructor, and you're golden.
{{{
public interface Factory {
Person create(@Assisted("givenName") String givenName,
@Assisted("surname") String surname);
}
}}}
For more information:
http://code.google.com/p/google-guice/wiki/FrequentlyAskedQuestions
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"google-guice-dev" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---