Modified the web server to allow connection related data to be stored in the connection's context by the application. This modifies the contract (interfaces) between the framework and application code, requiring changes to the application (breaks backward compatibility).
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package com.foundation.web.interfaces;
|
||||
|
||||
/**
|
||||
* An interface implemented by objects stored in the SessionData's application data mapping (as the value) when the object wants notification that the session has been released.
|
||||
*/
|
||||
public interface ISessionLifecycleAware {
|
||||
/**
|
||||
* Called when the session is released.
|
||||
*/
|
||||
public void release();
|
||||
}//ISessionLifecycleAware//
|
||||
Reference in New Issue
Block a user