ApplicationEventPublisher
interface.ApplicationRunner
and CommandLineRunner
instances on startup.@Async
to Async
.@Autowired
to Inject
.@Bean
to Bean
.RuleBasedTransactionAttribute
so that it can be bound
from annotation metadata and defaults to rollback on all exception types apart from those configured.@Configuration
to Factory
.ChannelResolver
.@EventListener
to EventListener
.BeanFactory
interface.HttpMethod
.@Lazy(false)
become a Context
scoped bean.ConfigurableApplicationContext
and
provides lifecycle management.ApplicationContext
interface that delegates to Micronaut.ApplicationEventPublisher
interface for Micronaut.ListableBeanFactory
interface for Micronaut.Environment
interface for Micronaut.ChannelResolver
implementation.ServerHttpRequest
.ModelMap
type.Model
argument for controllers.@Primary
to Primary
.Requires
.PropertyResolver
to a Spring PropertyResolver
.@Qualifier
to Named
.@Repository
the same was as ComponentAnnotationMapper
.RequiresSingleCandidate
.ResponseEntity
as a return type.@Scheduled
to Scheduled
.ServerHttpRequest
object.@Service
the same was as ComponentAnnotationMapper
.BeanFactory
interface.Configuration
in Spring.SpringConfigurationAdvice
.Transactional
directly or switch to Micronaut Data's TransactionalAdvice
@Transactional
to io.micronaut.spring.tx.annotation.Transactional
.Transactional
.@Validated
to Validated
.@Value
to Value
.