com.twitter.common.net.http
Class GuiceServletConfig

java.lang.Object
  extended by com.google.inject.servlet.GuiceServletContextListener
      extended by com.twitter.common.net.http.GuiceServletConfig
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener

public class GuiceServletConfig
extends GuiceServletContextListener

A wrapper around the GuiceServletContextListener that has access to the injector.


Constructor Summary
GuiceServletConfig(Injector injector)
           
 
Method Summary
protected  Injector getInjector()
           
 
Methods inherited from class com.google.inject.servlet.GuiceServletContextListener
contextDestroyed, contextInitialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuiceServletConfig

@Inject
public GuiceServletConfig(Injector injector)
Method Detail

getInjector

protected Injector getInjector()
Specified by:
getInjector in class GuiceServletContextListener