Skip to content

Instantly share code, notes, and snippets.

@rdammkoehler
Created December 1, 2010 22:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rdammkoehler/724335 to your computer and use it in GitHub Desktop.
Save rdammkoehler/724335 to your computer and use it in GitHub Desktop.
package jerseyandguice;
import com.google.inject.AbstractModule;
import com.google.inject.servlet.RequestScoped;
public class DependancyModule extends AbstractModule {
@Override
protected void configure() {
bind(Dependancy.class).to(DefaultDependancy.class).in(RequestScoped.class);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment