Alessio Soldano created JBWS-3577:
-------------------------------------
Summary: Turn RequestHandler and LifecycleHandler into singletons
Key: JBWS-3577
URL:
https://issues.jboss.org/browse/JBWS-3577
Project: JBoss Web Services
Issue Type: Task
Security Level: Public (Everyone can see)
Components: jbossws-cxf, jbossws-integration, jbossws-native
Reporter: Alessio Soldano
Assignee: Alessio Soldano
Fix For: jbossws-cxf-4.1.1, jbossws-native-4.1.1
We currently create new instances of RequestHandler and LifecycleHandler for each endpoint
of each deployment, but there's no real reason for that as they really have no status
(or -in case of native- the status really belongs to the endpoint itself). We should have
singletons there, to save memory and also considering the lookup of the implementation to
use through SPIProviderResolver is possibly expensive.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira