private void inject2OneConf(String key, DisconfCenterItem disconfCenterItem) {

        if (disconfCenterItem == null) {
            return;
        }

        try {

            Object object = null;

            //
            // 静态
            //
            if (!disconfCenterItem.isStatic()) {

                object = registry.getFirstByType(disconfCenterItem.getDeclareClass(), false, true);
            }

            disconfStoreProcessor.inject2Instance(object, key);

        } catch (Exception e) {
            LOGGER.warn(e.toString(), e);
        }
    }
private void inject2OneConf ( String key , DisconfCenterItem disconfCenterItem ) { if ( disconfCenterItem == null ) { return ; } try { Object object = null ; if ( ! disconfCenterItem . isStatic ( ) ) { object = registry . getFirstByType ( disconfCenterItem . getDeclareClass ( ) , false , true ) ; } disconfStoreProcessor . inject2Instance ( object , key ) ; } catch ( Exception e ) { LOGGER . warn ( e . toString ( ) , e ) ; } }
某个配置项：注入到实例中