octaviusTemplate

@Bean
@ConditionalOnMissingBean
open fun octaviusTemplate(dataSource: DataSource): OctaviusTemplate

Creates and registers an OctaviusTemplate bean if one is not already present in the application context.

Return

a new instance of OctaviusTemplate

Parameters

dataSource

the underlying data source to use