Package io.micronaut.context.annotation
Annotation Interface Bean
Annotation used to configure a bean. Typically used in conjunction with Factory.
@Factory
public class MyFactory {
@Bean
public MyBean myBean() {
// create the bean
}
}- Since:
- 1.0
- Author:
- Graeme Rocher
- See Also:
-
Optional Element Summary
Optional Elements