Skip to content

Commit 0267cf8

Browse files
committed
Update README.md
1 parent 38cf446 commit 0267cf8

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -101,19 +101,19 @@ module org.example {
101101

102102
## Spring DI comparison
103103

104-
| Spring | Avaje
104+
| Avaje | Spring
105105
| :--- | :--- |
106-
| @Component, @Service, @Repository | [@Singleton](https://avaje.io/inject/#singleton) |
107-
| FactoryBean<T> | [Provider<T>](https://avaje.io/inject/#provider) |
108-
| @Inject, @Autowired | [@Inject](https://avaje.io/inject/#inject) |
109-
| @Autowired(required=false) |[@Inject @Nullable](https://avaje.io/inject/#nullable) or [@Inject Optional<T>](https://avaje.io/inject/#optional) |
110-
| @PostConstruct| [@PostConstruct](https://avaje.io/inject/#post-construct) |
111-
| @PreDestroy| [@PreDestroy](https://avaje.io/inject/#pre-destroy) |
112-
| @Configuration and @Bean | [@Factory and @Bean](https://avaje.io/inject/#factory) |
113-
| @Conditional | [@RequiresBean and @RequiresProperty](https://avaje.io/inject/#conditional) |
114-
| @Primary | [@Primary](https://avaje.io/inject/#primary) |
115-
| @Secondary | [@Secondary](https://avaje.io/inject/#secondary) |
116-
| @Profile | [@Profile](https://avaje.io/inject/#profile) |
106+
| [@Singleton](https://avaje.io/inject/#singleton) | @Component, @Service, @Repository |
107+
| [Provider<T>](https://avaje.io/inject/#provider) | FactoryBean<T> |
108+
| [@Inject](https://avaje.io/inject/#inject) | @Inject, @Autowired |
109+
| [@Inject @Nullable](https://avaje.io/inject/#nullable) or [@Inject Optional<T>](https://avaje.io/inject/#optional) | @Autowired(required=false) |
110+
| [@PostConstruct](https://avaje.io/inject/#post-construct) | @PostConstruct|
111+
| [@PreDestroy](https://avaje.io/inject/#pre-destroy) | @PreDestroy |
112+
| [@Factory and @Bean](https://avaje.io/inject/#factory) | @Configuration and @Bean |
113+
| [@RequiresBean and @RequiresProperty](https://avaje.io/inject/#conditional) | @Conditional |
114+
| [@Primary](https://avaje.io/inject/#primary) | @Primary |
115+
| [@Secondary](https://avaje.io/inject/#secondary) | @Secondary |
116+
| [@AssistFactory](https://avaje.io/inject/#assistInject) | - |
117117

118118
## Generated Code
119119

0 commit comments

Comments
 (0)