Home spring/spring-data: why not reference by type?
Reply: 0

spring/spring-data: why not reference by type?

Tobe Published in 2018-01-13 06:42:00Z

Recently we found that spring-data's repository mechanism treats cassandraTemplate as a by-name reference (RuntimeBeanReference, more exactly).

It made me wonder that, "why not a by-type reference"?
Does spring provide runtime, by-type reference?
If so, are there some specific reasons for spring-data to make it this way?

I've tried search it but failed to found a relevant topic for that.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.297951 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO