This content has been marked as final.
Show 2 replies
-
1. Re: Custom CacheLoader configuration help
galder.zamarreno Feb 29, 2012 9:48 AM (in response to earnest.dyke)1 of 1 people found this helpfulIn the current state of the configuration, it's probably easier if you configure it like this:
<loaders passivation="false" preload="false" shared="false">
<loader class="com.my.cacheloader.MasterCustomerCacheLoader">
<properties>
<property name="esbUrl" value="http://localhost:8080/CatB4Login/http/masterCustomer" />
</properties>
</loader>
</loader>
If you're extending AbstractCacheLoader, you should have a reference to the cache, and via that you can retrieve the configuration and hence, the configured lifespan.
-
2. Re: Custom CacheLoader configuration help
earnest.dyke Feb 29, 2012 10:09 AM (in response to galder.zamarreno)Thanks. I will give this a try.
Earnie!