-
Notifications
You must be signed in to change notification settings - Fork 353
Automatically register class proxy hint for typical platform abstractions (async, transactions etc.) #826
Comments
@aclement Should we target 0.10.1 or 0.11 for this one? |
I'd like to get some work done on it in the 0.10.x line. @odrotbohm do you have suitable test projects lying around for the most important situations? Also, in discussing Spring Data needs with Christoph, any code that currently doesn't go through the default proxy factory will either need to be adapted to do so, or it will need another substitution. So there can be more to it than just smartly computing |
I am currently upgrading RESTBucks to 0.10 to see what explicit hints are still needed. So far, I've been able to remove most of them I had before. So great job already! I'll ping you once the branch is in place. Im gonna link the tickets I file for each of the explicit hints I think we can get rid of once we fix those tickets. |
The |
|
Upgraded to Spring Native 0.10.1 snapshots. Removed explicit proxy configuration for Engine as @async is now automatically detected (spring-attic/spring-native#826). Removed explicit configuration needed for event listeners as they're now supported out of the box (spring-attic/spring-native#828). Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Verified to be working on 0.10.1 snapshots. |
Upgraded to Spring Native 0.10.1 snapshots. Removed explicit proxy configuration for Engine as @async is now automatically detected (spring-attic/spring-native#826). Removed explicit configuration needed for event listeners as they're now supported out of the box (spring-attic/spring-native#828). Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Upgraded to Spring Native 0.10.1 snapshots. Removed explicit proxy configuration for Engine as @async is now automatically detected (spring-attic/spring-native#826). Removed explicit configuration needed for event listeners as they're now supported out of the box (spring-attic/spring-native#828). Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Upgraded to Spring Native 0.10.1 snapshots. Removed explicit proxy configuration for Engine as @async is now automatically detected (spring-attic/spring-native#826). Removed explicit configuration needed for event listeners as they're now supported out of the box (spring-attic/spring-native#828). Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Upgraded to Spring Native 0.10.1 snapshots. Removed explicit proxy configuration for Engine as @async is now automatically detected (spring-attic/spring-native#826). Removed explicit configuration needed for event listeners as they're now supported out of the box (spring-attic/spring-native#828). Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Upgraded to Spring Native 0.10.1 snapshots. Removed explicit proxy configuration for Engine as @async is now automatically detected (spring-attic/spring-native#826). Removed explicit configuration needed for event listeners as they're now supported out of the box (spring-attic/spring-native#828). Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Upgraded to Spring Native 0.10.1 snapshots. Removed explicit proxy configuration for Engine as @async is now automatically detected (spring-attic/spring-native#826). Removed explicit configuration needed for event listeners as they're now supported out of the box (spring-attic/spring-native#828). Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Upgraded to Spring Native 0.10.1 snapshots. Removed explicit proxy configuration for Engine as @async is now automatically detected (spring-attic/spring-native#826). Removed explicit configuration needed for event listeners as they're now supported out of the box (spring-attic/spring-native#828). Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete). $ Conflicts: $ server/pom.xml
Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete). $ Conflicts: $ server/pom.xml
Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete). $ Conflicts: $ server/pom.xml
Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete). $ Conflicts: $ server/pom.xml
Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete). $ Conflicts: $ server/pom.xml
Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete). $ Conflicts: $ server/pom.xml
Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete). $ Conflicts: $ server/pom.xml
Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete). $ Conflicts: $ server/pom.xml
Move dependency to the native JAR into the common build as we have code to compile to tweak the native image. That code needs to be compilable in non-native scenarios as well. Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Move dependency to the native JAR into the common build as we have code to compile to tweak the native image. That code needs to be compilable in non-native scenarios as well. Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Move dependency to the native JAR into the common build as we have code to compile to tweak the native image. That code needs to be compilable in non-native scenarios as well. Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Move dependency to the native JAR into the common build as we have code to compile to tweak the native image. That code needs to be compilable in non-native scenarios as well. Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Move dependency to the native JAR into the common build as we have code to compile to tweak the native image. That code needs to be compilable in non-native scenarios as well. Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Move dependency to the native JAR into the common build as we have code to compile to tweak the native image. That code needs to be compilable in non-native scenarios as well. Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Move dependency to the native JAR into the common build as we have code to compile to tweak the native image. That code needs to be compilable in non-native scenarios as well. Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Move dependency to the native JAR into the common build as we have code to compile to tweak the native image. That code needs to be compilable in non-native scenarios as well. Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Move dependency to the native JAR into the common build as we have code to compile to tweak the native image. That code needs to be compilable in non-native scenarios as well. Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Move dependency to the native JAR into the common build as we have code to compile to tweak the native image. That code needs to be compilable in non-native scenarios as well. Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Move dependency to the native JAR into the common build as we have code to compile to tweak the native image. That code needs to be compilable in non-native scenarios as well. Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Move dependency to the native JAR into the common build as we have code to compile to tweak the native image. That code needs to be compilable in non-native scenarios as well. Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Move dependency to the native JAR into the common build as we have code to compile to tweak the native image. That code needs to be compilable in non-native scenarios as well. Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Move dependency to the native JAR into the common build as we have code to compile to tweak the native image. That code needs to be compilable in non-native scenarios as well. Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Move dependency to the native JAR into the common build as we have code to compile to tweak the native image. That code needs to be compilable in non-native scenarios as well. Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Move dependency to the native JAR into the common build as we have code to compile to tweak the native image. That code needs to be compilable in non-native scenarios as well. Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Move dependency to the native JAR into the common build as we have code to compile to tweak the native image. That code needs to be compilable in non-native scenarios as well. Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Move dependency to the native JAR into the common build as we have code to compile to tweak the native image. That code needs to be compilable in non-native scenarios as well. Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Move dependency to the native JAR into the common build as we have code to compile to tweak the native image. That code needs to be compilable in non-native scenarios as well. Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Move dependency to the native JAR into the common build as we have code to compile to tweak the native image. That code needs to be compilable in non-native scenarios as well. Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Move dependency to the native JAR into the common build as we have code to compile to tweak the native image. That code needs to be compilable in non-native scenarios as well. Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
Move dependency to the native JAR into the common build as we have code to compile to tweak the native image. That code needs to be compilable in non-native scenarios as well. Use buildpack based native image builds. Remove offending libraries: both Spring Boot DevTools and the Thin Launcher are not native-ready yet. Added NativeConfiguration to capture a few manual hints still needed. Declare Money as the type being returned from MonetaryAmountAttributeConverter.convertToEntityAttribute(…) so that it is automatically added to the reflection configuration (makes spring-attic/spring-native#826 obsolete).
User components that do not implement interfaces but make use of annotations that case the type needing to be proxied (e.g.
@Async
,@Transactional
etc.) currently need an explicit@AotTypeHint
declared. We should be able to detect that the proxy class is needed and automatically register that fact so that the explicit hint is not needed.The text was updated successfully, but these errors were encountered: