![JAR search and dependency download from the Maven repository](/logo.png)
com.google.inject.servlet.ExplicitBindingsFixitModule Maven / Gradle / Ivy
The newest version!
package com.google.inject.servlet;
import com.google.inject.AbstractModule;
import com.google.inject.servlet.InternalServletModule.BackwardsCompatibleServletContextProvider;
public class ExplicitBindingsFixitModule
extends AbstractModule {
@Override
protected void configure() {
// if you turn on explicit bindings then this puppy is not explicitly bound
// oops, and its only in svn cause Google don't bother to release stuff...
// so here is a dodgy fix
bind(BackwardsCompatibleServletContextProvider.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy