Created
August 10, 2012 19:44
-
-
Save jdewind/3317310 to your computer and use it in GitHub Desktop.
Guice Interceptor Bindings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
protected void configure() { | |
RefreshEntityInterceptor refreshEntityInterceptor = new RefreshEntityInterceptor(); | |
requestInjection(refreshEntityInterceptor); | |
bindInterceptor(Matchers.any(), Matchers.annotatedWith(RefreshEntity.class), refreshEntityInterceptor); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment