private static JCacheJmxSupport findJCacheJmxSupportInstance ( ) { for ( CacheLifeCycleListener l : CacheManagerImpl . getCacheLifeCycleListeners ( ) ) { if ( l instanceof JCacheJmxSupport ) { return ( JCacheJmxSupport ) l ; } } throw new LinkageError ( "JCacheJmxSupport not loaded" ) ; }
The JMX support is already created via the serviceloader