ws-xmlrpc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugene Prokopiev <prokop...@stc.donpac.ru>
Subject Re: Single handler instance for all requests
Date Fri, 03 Nov 2006 13:35:34 GMT
> What is the right way to use single handler instance for all requests to
> methods of one class?

I found this code in AbstractReflectiveHandlerMapping.java :

private RequestProcessorFactoryFactory requestProcessorFactoryFactory = 
new RequestProcessorFactoryFactory.RequestSpecificProcessorFactoryFactory();

RequestProcessorFactoryFactory is interface with two factories: 
RequestSpecificProcessorFactoryFactory and 
StatelessProcessorFactoryFactory.

But replacing one factory with another 
AbstractReflectiveHandlerMapping.java looks like dirty hack. What is the 
right way to do it?

-- 
Thanks,
Eugene Prokopiev


---------------------------------------------------------------------
To unsubscribe, e-mail: xmlrpc-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: xmlrpc-dev-help@ws.apache.org


Mime
View raw message