public static < T extends Configuration > ConfigurationBinder < T > forClass ( Class < T > klass , Binder binder ) { return new ConfigurationBinder <> ( klass , binder ) ; }
The starting point for using a ConfigurationBinder . A class needs to be passed through along with a binder to eventually bind the configuration with .