THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Overwrite destroy to release resources on application shutdown.
Thread Safety
Note |
---|
Interceptors must be thread-safe! |
A Struts 2 Action instance is created for every request and do not need to be thread-safe. Conversely, Interceptors are shared between requests and must be thread-safe.
AbstractInterceptor
The AbstractInterceptor class provides an empty implementation of init and destroy, and can be used if these methods are not going to be implemented.
...