public class RequestCustomScope extends AbstractScope implements LifecycleScope
Constructor and Description |
---|
RequestCustomScope() |
Modifier and Type | Method and Description |
---|---|
void |
registerDestroyListener(LifecycleListener listener) |
void |
setProvider(com.google.inject.Provider<javax.servlet.http.HttpServletRequest> provider) |
void |
start() |
void |
stop() |
scope, setExtractor
@Inject public void setProvider(com.google.inject.Provider<javax.servlet.http.HttpServletRequest> provider)
public void start()
public void stop()
public void registerDestroyListener(LifecycleListener listener)
registerDestroyListener
in interface LifecycleScope
Copyright © 2013 Caelum. All Rights Reserved.