question: @ Override public SolrInfoMBean put ( String key , SolrInfoMBean infoBean ) { if ( server != null && infoBean != null ) { try { ObjectName name = getObjectName ( key , infoBean ) ; if ( server . isRegistered ( name ) ) server . unregisterMBean ( name ) ; SolrDynamicMBean mbean = new SolrDynamicMBean ( coreHashCode , infoBean , useCachedStatsBetweenGetMBeanInfoCalls ) ; server . registerMBean ( mbean , name ) ; } catch ( Exception e ) { log . warn ( "Failed to register info bean: " + key , e ) ; } } return super . put ( key , infoBean ) ; }
target:  Adds the SolrInfoMBean to the map and registers the given SolrInfoMBean instance with the MBeanServer defined for this core. If a SolrInfoMBean is already registered with the MBeanServer then it is unregistered and then re-registered.