Skip to content

Commit

Permalink
chore: change the role of Crane4jAutoConfiguration to BeanDefinition.…
Browse files Browse the repository at this point in the history
…ROLE_INFRASTRUCTURE (GitHub #318)
  • Loading branch information
Createsequence committed Jul 15, 2024
1 parent afe1299 commit 78b7c52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ public SpringConverterManager springConverterManager() {
return new SpringConverterManager(DefaultConversionService.getSharedInstance());
}

@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
@Primary
@Bean
public Crane4jApplicationContext crane4jApplicationContext(ApplicationContext applicationContext) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ public SpringConverterManager newSpringConverterManager() {
return new SpringConverterManager(DefaultConversionService.getSharedInstance());
}

@Role(BeanDefinition.ROLE_INFRASTRUCTURE)
@Primary
@ConditionalOnMissingBean
@Bean
Expand Down

0 comments on commit 78b7c52

Please sign in to comment.