|
|
|
|
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
|
|
|
|
/* |
|
|
|
|
* Copyright 2002-2022 the original author or authors. |
|
|
|
|
* Copyright 2002-2023 the original author or authors. |
|
|
|
|
* |
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
|
@ -49,7 +49,7 @@ class TransactionBeanRegistrationAotProcessor implements BeanRegistrationAotProc
@@ -49,7 +49,7 @@ class TransactionBeanRegistrationAotProcessor implements BeanRegistrationAotProc
|
|
|
|
|
public BeanRegistrationAotContribution processAheadOfTime(RegisteredBean registeredBean) { |
|
|
|
|
Class<?> beanClass = registeredBean.getBeanClass(); |
|
|
|
|
if (isTransactional(beanClass)) { |
|
|
|
|
return new TransactionBeanRegistrationAotContribution(beanClass); |
|
|
|
|
return new AotContribution(beanClass); |
|
|
|
|
} |
|
|
|
|
return null; |
|
|
|
|
} |
|
|
|
|
@ -69,11 +69,11 @@ class TransactionBeanRegistrationAotProcessor implements BeanRegistrationAotProc
@@ -69,11 +69,11 @@ class TransactionBeanRegistrationAotProcessor implements BeanRegistrationAotProc
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static class TransactionBeanRegistrationAotContribution implements BeanRegistrationAotContribution { |
|
|
|
|
private static class AotContribution implements BeanRegistrationAotContribution { |
|
|
|
|
|
|
|
|
|
private final Class<?> beanClass; |
|
|
|
|
|
|
|
|
|
public TransactionBeanRegistrationAotContribution(Class<?> beanClass) { |
|
|
|
|
public AotContribution(Class<?> beanClass) { |
|
|
|
|
this.beanClass = beanClass; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|