Programmatic Configuration
Cache extensions can also be programmatically added to a Cache as shown below:
TestCacheExtension testCacheExtension = new TestCacheExtension(cache, ...);
testCacheExtension.init();
cache.registerCacheExtension(testCacheExtension);