Kotlin allows for the definition of singleton objects. In dependency injection (DI) frameworks like Spring or CDI, the life cycle of beans can be defined as singleton. Therefore, it seems sensible to declare Kotlin objects as beans for use in a DI container.
Is it indeed possible to declare a Kotlin object, e.g., as e Spring @Component? If not, why not?