public static void initialize ( ) throws CacheReloadException { if ( InfinispanCache . get ( ) . exists ( BundleMaker . NAMECACHE ) ) { InfinispanCache . get ( ) . < UUID , Type > getCache ( BundleMaker . NAMECACHE ) . clear ( ) ; InfinispanCache . get ( ) . < UUID , Type > getCache ( BundleMaker . CACHE4BUNDLE ) . clear ( ) ; InfinispanCache . get ( ) . < UUID , Type > getCache ( BundleMaker . CACHE4BUNDLEMAP ) . clear ( ) ; } else { InfinispanCache . get ( ) . < UUID , Type > getCache ( BundleMaker . NAMECACHE ) . addListener ( new CacheLogListener ( BundleMaker . LOG ) ) ; InfinispanCache . get ( ) . < UUID , Type > getCache ( BundleMaker . CACHE4BUNDLE ) . addListener ( new CacheLogListener ( BundleMaker . LOG ) ) ; InfinispanCache . get ( ) . < UUID , Type > getCache ( BundleMaker . CACHE4BUNDLEMAP ) . addListener ( new CacheLogListener ( BundleMaker . LOG ) ) ; } }
Init this class .