Spring Java Config: how do you create a prototype-scoped @Bean with runtime arguments? Spring Java Config: how do you create a prototype-scoped @Bean with runtime arguments? spring spring