snowdrop / spring-data-snowdrop

Spring Data implementation for Hibernate Search, JPA (full-text), Infinispan, GAE, ...
Apache License 2.0
5 stars 4 forks source link

Support CDI #8

Open yrodiere opened 6 years ago

yrodiere commented 6 years ago

There seems to be specific pieces of code in other Spring Data modules related to CDI.

Let's find out what their exact purpose is and add similar code in our own module.

alesj commented 6 years ago

There is already a CDI (code) piece. It's just not fully implemented yet.

alesj commented 6 years ago
yrodiere commented 6 years ago

Right. I suspect we'll need more than just this class to also implement the JPA repository extension feature, though. Anyway, I created this ticket so that we don't forget about it. I cannot work on this right now.

alesj commented 6 years ago

Simple injection is done. Need to check on the JPA extension. But I suspect that needs to be extended on the JPA side.

alesj commented 6 years ago

Looking at JpaRepositoryBean, there is not much we can do, as it always returns / uses JpaRepositoryFactory.