* A cache listener for CacheBox
* Listen for cache registrations and load data into the 'bigCache' cache ONLY!
function afterCacheRegistration(interceptData){
// Get the registered cache reference from the incoming interception data
var cache = arguments.interceptData.cache;
// Only work on the BigCache cache
if( cache.getName() eq "BigCache" ){
// Talk to service, get some big data items
dataItems = service.getBigDataItems();
//Cache them forever as eternal objects
cache.setMulti(mapping=dataItems,timeout=0);