protected void reloadCache ( ) { log . info ( "reloadCache" ) ; cache . clear ( ) ; try { ServiceReference [ ] references = bundleContext . getAllServiceReferences ( ComponentBindingsProvider . class . getCanonicalName ( ) , null ) ; if ( references != null ) { for ( ServiceReference reference : references ) { cache . registerComponentBindingsProvider ( reference ) ; } } } catch ( Exception e ) { log . error ( "Exception reloading cache of component binding providers" , e ) ; } }
Reloads the cache of Component Binding Providers