public static ScopedBindingBuilder bindFrameCodecFactory ( Binder binder , String key , Class < ? extends ThriftFrameCodecFactory > frameCodecFactoryClass ) { return newMapBinder ( binder , String . class , ThriftFrameCodecFactory . class ) . addBinding ( key ) . to ( frameCodecFactoryClass ) ; }
helpers for binding frame codec factories