You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ApplicationScoped
@MyBananaMap
public RMapCache<String, MyBanana> myBananaCache() {
...
}
I would like to make this bean be initialized at startup, and after adding the @Startup annotation the method is indeed called at startup as it should, but I still get the following warning:
Ignored an invalid @Startup method declared on <CacheCreationClass>: <CacheCreationClass>.myBananaCache()
If we could move to officially support this usage of the @Startup method without throwing a warning, it would be very useful to us. Willing to contribute if you consider this idea feasible. Thanks!
Implementation ideas
No response
The text was updated successfully, but these errors were encountered:
@mkouba Upgrading to the latest version does solve the issue, @Startup works as expected without warning 🙈 My bad, I'll remember to check the Quarkus version the next time and include it in the issue. Thanks for the quick feedback!
Description
I'm using the following code to create a bean:
I would like to make this bean be initialized at startup, and after adding the
@Startup
annotation the method is indeed called at startup as it should, but I still get the following warning:Ignored an invalid @Startup method declared on <CacheCreationClass>: <CacheCreationClass>.myBananaCache()
If we could move to officially support this usage of the
@Startup
method without throwing a warning, it would be very useful to us. Willing to contribute if you consider this idea feasible. Thanks!Implementation ideas
No response
The text was updated successfully, but these errors were encountered: