[ http://issues.apache.org/jira/browse/WSIF-81?page=all ]
Andrzej Taramina updated WSIF-81:
---------------------------------
Attachment: WSIFServiceCache.txt
Patch for WSIFServiceCache.java source.
> Fixed Service Caching and added a dynamic cache reset method
> ------------------------------------------------------------
>
> Key: WSIF-81
> URL: http://issues.apache.org/jira/browse/WSIF-81
> Project: Axis-WSIF
> Type: Improvement
> Components: Basic Architecture
> Versions: current (nightly)
> Reporter: Andrzej Taramina
> Fix For: future
> Attachments: WSIFServiceCache.txt, WSIFServiceFactory.txt,
> WSIFServiceFactoryImpl.txt
>
> There seem to be some potential synchronization problems in the
> WSIFServiceCache class, since the get/put methods were not synchronized and
> could potentially screw up the LRU handling implemented there if concurrent
> threads hit those methods at the wrong time.
> I've fixed this in the attached paches.
> I've also added a clear() method to WSIFServiceCache and also
> corresponding clearServiceCache() methods to both WSIFServiceFactory and
> WSIFServiceFactoryImpl. This allows you to reset the service cache
> dynamically at runtime (useful if
> you change a WSDL service definition, and don't want to restart your
> application).
> ....Andrzej
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira