Guice equivilent for Spring BeanPostProcessor

With Spring, you can add BeanPostProcessor implementations to the context to conditionally replace, wrap, or proxy beans before and after they have been initialized with their dependencies.

Does Google Guice offer something similar?

Example: I have SomethingHandler interface with a single execute method and based on some conditions that I want to decorate / migrate implementations with LoggingHandler , AuthenticationHandler and so on.

+4
source share

All Articles