Skip to content

Commit

Permalink
static for post processors
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Hasgul <[email protected]>
  • Loading branch information
jordanhasgul committed Aug 8, 2024
1 parent a6467e2 commit 602e45c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public DatabaseAccessStatisticsEntryPointInterceptor twEntryPointsDatabaseAccess
@Bean
@ConditionalOnProperty(name = "tw-entrypoints.das.enabled", havingValue = "true", matchIfMissing = true)
@ConditionalOnMissingBean
public DatabaseAccessStatisticsBeanPostProcessor twEntryPointsDatabaseAccessStatisticsBeanPostProcessor() {
public static DatabaseAccessStatisticsBeanPostProcessor twEntryPointsDatabaseAccessStatisticsBeanPostProcessor() {
return new DatabaseAccessStatisticsBeanPostProcessor();
}

Expand All @@ -75,7 +75,7 @@ public MeterFilter twEntryPointsDatabaseAccessStatisticsMeterFilter() {
@Bean
@ConditionalOnProperty(name = "tw-entrypoints.tas.enabled", havingValue = "true", matchIfMissing = true)
@ConditionalOnMissingBean
public TableAccessStatisticsBeanPostProcessor twEntryPointsTableAccessStatisticsBeanPostProcessor(BeanFactory beanFactory) {
public static TableAccessStatisticsBeanPostProcessor twEntryPointsTableAccessStatisticsBeanPostProcessor(BeanFactory beanFactory) {
return new TableAccessStatisticsBeanPostProcessor(beanFactory);
}

Expand Down Expand Up @@ -124,7 +124,7 @@ public TasFlywayConfigurationCustomizer tasFlywayConfigurationCustomizer() {
@Bean
@ConditionalOnProperty(name = "tw-entrypoints.ts.enabled", havingValue = "true", matchIfMissing = true)
@ConditionalOnMissingBean
public TransactionStatisticsBeanPostProcessor twEntryPointsTransactionStatisticsBeanPostProcessor(BeanFactory beanFactory) {
public static TransactionStatisticsBeanPostProcessor twEntryPointsTransactionStatisticsBeanPostProcessor(BeanFactory beanFactory) {
return new TransactionStatisticsBeanPostProcessor(beanFactory);
}

Expand Down

0 comments on commit 602e45c

Please sign in to comment.