Ajith Ranabahu wrote:
However we may be able to improve a bit of the code :) Since the
handlers are stateless replicating them would not mean anything
(shouldn't make a difference).
+1. I too agree.
Should we able to create a read-only
List implementation where only one of the handler instances exist in
the engine ?
Looking at the logic:
ArrayList outPhases = new ArrayList();
outPhases.addAll((ArrayList) executionChain.clone());
outPhases.addAll((ArrayList) msgContext.getConfigurationContext()
.getAxisConfiguration().getGlobalOutPhases().clone());
msgContext.setExecutionChain(outPhases);
It does not look like we do any changes to the list after cloning. Hence
would be better off to drop cloning.
Samisa...
--
Samisa Abeysinghe : http://www.bloglines.com/blog/samisa
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]