public interface SessionedData
SessionedDataProvider
and lives throughout the lifecycle of a session.Modifier and Type | Method and Description |
---|---|
void |
destroyData(ConfigContext context)
This method is called after a session is discarded, or activated.
|
void |
initializeData(ConfigContext context, boolean isLoad)
This method is called when a new session is created created or when an existing session is loaded during startup.
|
void initializeData(ConfigContext context, boolean isLoad) throws java.lang.Exception
SessionedData objects are initialized in the same order as they are returned by their providers.
isLoad
- indicates that an existing session is being loaded as part of startup sequence.java.lang.Exception
- Any exception thrown by this method will cause the session creation/loading to fail.void destroyData(ConfigContext context)
Exceptions thrown by this method are ignored