public abstract class InjectedServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
initialized |
protected com.google.inject.Injector |
injector |
| Constructor and Description |
|---|
InjectedServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkInitialized()
Called in each guice injected method to insure we are not initialized twice
|
void |
init(javax.servlet.ServletConfig config) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceprotected com.google.inject.Injector injector
protected transient boolean initialized
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected void checkInitialized()
Copyright © 2007-2012. All Rights Reserved.