I want to delete some temporary files when the user session ends. Information associated with files is stored in an object annotated with @SessionAttributes.
The only way I came across is to create HttpSessionListener.
Is there a higher level, simplified, Springy way to listen to the end of session event where I could easily get my annotated object?
source
share