Hi All,

When implementing caching for DataMapperMediator in order to generate a
unique key to be included in the cachMap, currently I am generating a UUID
at the DataMapperMediatorFactory class which generates a unique id for a
specific DataMapperMediator instance.

If the proxy invokes, this generated key will be removed when the cacheble
limit exceeds. But what if the proxy didn't invoke? Since
DataMapperMediator is not implementing the 'ManagedLifecycle' interface,
this doesn't contain the destroy() method as well. Therefore is there any
possibility to remove the generated UUID. Can someone provide a solution to
this?

Thanks in advance,
Sohani

Sohani Weerasinghe
Software Engineer
WSO2, Inc: http://wso2.com

Mobile  : +94 716439774
Blog     :http://christinetechtips.blogspot.com/
Twitter  : https://twitter.com/sohanichristine
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to