public class GuiceProvider extends java.lang.Object implements ContainerProvider
Modifier and Type | Field and Description |
---|---|
protected javax.servlet.ServletContext |
context |
Constructor and Description |
---|
GuiceProvider() |
Modifier and Type | Method and Description |
---|---|
protected com.google.inject.Module |
customModule() |
Container |
getContainer() |
<T> T |
provideForRequest(RequestInfo request,
Execution<T> execution) |
protected void |
registerCustomComponents(ComponentRegistry registry) |
void |
start(javax.servlet.ServletContext context) |
void |
stop() |
protected void |
stopSession(java.lang.Boolean value) |
public <T> T provideForRequest(RequestInfo request, Execution<T> execution)
provideForRequest
in interface ContainerProvider
public Container getContainer()
getContainer
in interface ContainerProvider
public void start(javax.servlet.ServletContext context)
start
in interface ContainerProvider
protected com.google.inject.Module customModule()
protected void registerCustomComponents(ComponentRegistry registry)
protected void stopSession(java.lang.Boolean value)
public void stop()
stop
in interface ContainerProvider
Copyright © 2013 Caelum. All Rights Reserved.