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