
| Key: |
XW-522
|
| Type: |
Bug
|
| Status: |
Resolved
|
| Resolution: |
Fixed
|
| Priority: |
Major
|
| Assignee: |
tm_jee
|
| Reporter: |
tm_jee
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
Interceptor's destroy method is never called.
One possible way to fix this would be to :-
* When FilterDispatcher destroy itself (its destroy() method)
* It calls DispatcherUtil's cleanup() method
* which could call ConfigurationManager.destroyConfiguration()
* we could add the code to destroy the interceptor there.
The idea is to get the RuntimeConfiguration, and then get the actionConfigs which is
Map<String, Map<String, ActionConfig>>
The first String is the namespace, while the second String is the action name, With ActionConfig we could get a list of ActionMapping which holds an instance of Interceptor object. We could then invoke destroy() method on it.
thoughts?
|
|
Description
|
Interceptor's destroy method is never called.
One possible way to fix this would be to :-
* When FilterDispatcher destroy itself (its destroy() method)
* It calls DispatcherUtil's cleanup() method
* which could call ConfigurationManager.destroyConfiguration()
* we could add the code to destroy the interceptor there.
The idea is to get the RuntimeConfiguration, and then get the actionConfigs which is
Map<String, Map<String, ActionConfig>>
The first String is the namespace, while the second String is the action name, With ActionConfig we could get a list of ActionMapping which holds an instance of Interceptor object. We could then invoke destroy() method on it.
thoughts? |
Show » |
|
Changes at:-
tmjee@tmjee-laptop:~/development/xwork_1-2/src$ svn commit test/com/opensymphony/xwork/config/ConfigurationManagerTest.java java/com/opensymphony/xwork/XWorkTestCase.java java/com/opensymphony/xwork/config/ConfigurationManager.java
Sending java/com/opensymphony/xwork/XWorkTestCase.java
Sending java/com/opensymphony/xwork/config/ConfigurationManager.java
Sending test/com/opensymphony/xwork/config/ConfigurationManagerTest.java
Transmitting file data ...
Committed revision 1533.