reusable factories

View: New views
1 Messages — Rating Filter:   Alert me  

reusable factories

by bimargulies :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

*Dan, are you also doing this for the server side? I've got a raft of hair
in the CXF-1355 impl that I could cut if server factories were reusable.

Revision 826052<http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=826052>by
dkulp <http://hudson.zones.apache.org/hudson/user/dkulp/>: *

[CXF-2311 <https://issues.apache.org/jira/browse/CXF-2311>] Fix for this by
making sure the client factories can be
called multiple times and return new clients.   This allows the
factories to not be prototype scope in spring config as well, but
allows caching of some stuff (like methods and annotations and such)
so subsequent create() calls are a bit faster.