@@ -24,6 +24,7 @@ import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
import org.springframework.beans.factory.FactoryBean;
|
||||
import org.springframework.beans.factory.support.BeanNameGenerator;
|
||||
import org.springframework.context.annotation.ComponentScan.Filter;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.core.annotation.AliasFor;
|
||||
@@ -136,6 +137,15 @@ public @interface EnableEnversRepositories {
|
||||
@AliasFor(annotation = EnableJpaRepositories.class)
|
||||
Class<?> repositoryBaseClass() default DefaultRepositoryBaseClass.class;
|
||||
|
||||
/**
|
||||
* Configure a specific {@link BeanNameGenerator} to be used when creating the repositoy beans.
|
||||
* @return the {@link BeanNameGenerator} to be used or the base {@link BeanNameGenerator} interface to indicate context default.
|
||||
* @since 3.4
|
||||
* @see EnableJpaRepositories#nameGenerator()
|
||||
*/
|
||||
@AliasFor(annotation = EnableJpaRepositories.class)
|
||||
Class<? extends BeanNameGenerator> nameGenerator() default BeanNameGenerator.class;
|
||||
|
||||
// JPA specific configuration
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user