Last active
February 2, 2018 08:27
-
-
Save tristantarrant/970ecc6c8233ccc2aeac3b10a12a950c to your computer and use it in GitHub Desktop.
Infinispan Wildcard Configuration Template (JCache)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CachingProvider cachingProvider = Caching.getCachingProvider(); | |
| CacheManager cacheManager = cachingProvider.getCacheManager( | |
| this.getClass().getResource("wildcard.xml").toURI(), | |
| this.getClass().getClassLoader() | |
| ); | |
| Cache<Object, Object> basiccache1 = cacheManager.createCache( | |
| "basiccache1", | |
| new MutableConfiguration<>() | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment