Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure TypeListener is itself injected prior to use #409

Open
gissuebot opened this issue Jul 7, 2014 · 1 comment
Open

Ensure TypeListener is itself injected prior to use #409

gissuebot opened this issue Jul 7, 2014 · 1 comment

Comments

@gissuebot
Copy link

From limpbizkit on August 10, 2009 03:48:44

If a TypeListener is used as an argument to requestInjection(), it should be injected before it is
exercised. See the internal Initializable interface.

See this thread http://groups.google.com/group/google- guice/browse_thread/thread/80d32f87ba17bd6b/30ad7c576e72a130

Original issue: http://code.google.com/p/google-guice/issues/detail?id=409

@gissuebot
Copy link
Author

From stefan.liebig on April 10, 2014 07:03:39

I tried to "enrich" the example from the custom injection page ( https://code.google.com/p/google-guice/wiki/CustomInjections ). In this example the logger instance gets the class into it has been injected as its category. I tried to create the logger category from the class name plus an "instance" name. This "instance" name gets injected into the TypeListener.

Is there a work-around?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant