@Component(value="cuba_AnonymousSessionHolder") public class AnonymousSessionHolder extends java.lang.Object implements AppContext.Listener, org.springframework.core.Ordered
HIGHEST_PLATFORM_PRECEDENCE, LOWEST_PLATFORM_PRECEDENCE| Constructor and Description |
|---|
AnonymousSessionHolder() |
| Modifier and Type | Method and Description |
|---|---|
void |
applicationStarted()
Called by
AppContext after successful application startup and initialization. |
void |
applicationStopped()
Called by
AppContext before application shutdown. |
UserSession |
getAnonymousSession() |
int |
getOrder() |
void |
init() |
public void applicationStarted()
AppContext.ListenerAppContext after successful application startup and initialization.applicationStarted in interface AppContext.Listenerpublic void applicationStopped()
AppContext.ListenerAppContext before application shutdown.applicationStopped in interface AppContext.Listenerpublic int getOrder()
getOrder in interface org.springframework.core.Orderedpublic UserSession getAnonymousSession()
@PostConstruct public void init()