Class R2dbcRelationshipsAutoConfiguration
java.lang.Object
io.github.joselion.springr2dbcrelationships.R2dbcRelationshipsAutoConfiguration
R2DBC Relationships auto-configuration.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Default configuration constructor. -
Method Summary
Modifier and TypeMethodDescription<T> R2dbcRelationshipsCallbacks
<T> relationshipsCallbacks
(org.springframework.data.r2dbc.core.R2dbcEntityTemplate template, org.springframework.context.ApplicationContext context) Creates theR2dbcRelationshipsCallbacks
bean.
-
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 theR2dbcRelationshipsCallbacks
bean.- Type Parameters:
T
- the type of the entity in the callback- Parameters:
template
- the r2dbc entity templatecontext
- the Spring application context- Returns:
- the relationship callbacks bean
-