Factory类的callback_container重构成static