How to set value for primitive properties of a bean?
Since we have @Component
annotation and also @Autowired
annotation also is for binding instance dependencies, so what about primitive properties?
@Component
class Person{
@Autowired
Address address;
int age /// what about this one?
}