@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.Listener
AppContext
after successful application startup and initialization.applicationStarted
in interface AppContext.Listener
public void applicationStopped()
AppContext.Listener
AppContext
before application shutdown.applicationStopped
in interface AppContext.Listener
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
public UserSession getAnonymousSession()
@PostConstruct public void init()