Class R2dbcRelationshipsAutoConfiguration

java.lang.Object
io.github.joselion.springr2dbcrelationships.R2dbcRelationshipsAutoConfiguration

@Configuration public class R2dbcRelationshipsAutoConfiguration extends Object
R2DBC Relationships auto-configuration.
  • Constructor Details

    • R2dbcRelationshipsAutoConfiguration

      protected R2dbcRelationshipsAutoConfiguration()
      Default configuration constructor.
  • Method Details

    • relationshipsCallbacks

      @Bean public <T> R2dbcRelationshipsCallbacks<T> relationshipsCallbacks(@Lazy org.springframework.data.r2dbc.core.R2dbcEntityTemplate template, org.springframework.context.ApplicationContext context)
      Creates the R2dbcRelationshipsCallbacks bean.
      Type Parameters:
      T - the type of the entity in the callback
      Parameters:
      template - the r2dbc entity template
      context - the Spring application context
      Returns:
      the relationship callbacks bean