|
84 | 84 | * Returns the postfix to be used when looking up custom repository implementations. Defaults to {@literal Impl}. So
|
85 | 85 | * for a repository named {@code PersonRepository} the corresponding implementation class will be looked up scanning
|
86 | 86 | * for {@code PersonRepositoryImpl}.
|
87 |
| - * |
88 |
| - * @return |
89 | 87 | */
|
90 | 88 | String repositoryImplementationPostfix() default "Impl";
|
91 | 89 |
|
92 | 90 | /**
|
93 | 91 | * Configures the location of where to find the Spring Data named queries properties file. Will default to
|
94 | 92 | * {@code META-INF/jpa-named-queries.properties}.
|
95 |
| - * |
96 |
| - * @return |
97 | 93 | */
|
98 | 94 | String namedQueriesLocation() default "";
|
99 | 95 |
|
100 | 96 | /**
|
101 | 97 | * Returns the key of the {@link QueryLookupStrategy} to be used for lookup queries for query methods. Defaults to
|
102 | 98 | * {@link Key#CREATE_IF_NOT_FOUND}.
|
103 |
| - * |
104 |
| - * @return |
105 | 99 | */
|
106 | 100 | Key queryLookupStrategy() default Key.CREATE_IF_NOT_FOUND;
|
107 | 101 |
|
108 | 102 | /**
|
109 | 103 | * Returns the {@link FactoryBean} class to be used for each repository instance. Defaults to
|
110 | 104 | * {@link JpaRepositoryFactoryBean}.
|
111 |
| - * |
112 |
| - * @return |
113 | 105 | */
|
114 | 106 | Class<?> repositoryFactoryBeanClass() default JpaRepositoryFactoryBean.class;
|
115 | 107 |
|
116 | 108 | /**
|
117 | 109 | * Configure the repository base class to be used to create repository proxies for this particular configuration.
|
118 | 110 | *
|
119 |
| - * @return |
120 | 111 | * @since 1.9
|
121 | 112 | */
|
122 | 113 | Class<?> repositoryBaseClass() default DefaultRepositoryBaseClass.class;
|
123 | 114 |
|
124 | 115 | /**
|
125 | 116 | * Configure a specific {@link BeanNameGenerator} to be used when creating the repository beans.
|
126 |
| - * @return the {@link BeanNameGenerator} to be used or the base {@link BeanNameGenerator} interface to indicate context default. |
| 117 | + * |
| 118 | + * @return the {@link BeanNameGenerator} to be used or the base {@link BeanNameGenerator} interface to indicate |
| 119 | + * context default. |
127 | 120 | * @since 3.4
|
128 | 121 | */
|
129 | 122 | Class<? extends BeanNameGenerator> nameGenerator() default BeanNameGenerator.class;
|
|
133 | 126 | /**
|
134 | 127 | * Configures the name of the {@link EntityManagerFactory} bean definition to be used to create repositories
|
135 | 128 | * discovered through this annotation. Defaults to {@code entityManagerFactory}.
|
136 |
| - * |
137 |
| - * @return |
138 | 129 | */
|
139 | 130 | String entityManagerFactoryRef() default "entityManagerFactory";
|
140 | 131 |
|
141 | 132 | /**
|
142 | 133 | * Configures the name of the {@link PlatformTransactionManager} bean definition to be used to create repositories
|
143 | 134 | * discovered through this annotation. Defaults to {@code transactionManager}.
|
144 |
| - * |
145 |
| - * @return |
146 | 135 | */
|
147 | 136 | String transactionManagerRef() default "transactionManager";
|
148 | 137 |
|
149 | 138 | /**
|
150 | 139 | * Configures whether nested repository-interfaces (e.g. defined as inner classes) should be discovered by the
|
151 |
| - * repositories infrastructure. |
| 140 | + * repository infrastructure. |
152 | 141 | */
|
153 | 142 | boolean considerNestedRepositories() default false;
|
154 | 143 |
|
|
170 | 159 | * completed its bootstrap. {@link BootstrapMode#DEFERRED} is fundamentally the same as {@link BootstrapMode#LAZY},
|
171 | 160 | * but triggers repository initialization when the application context finishes its bootstrap.
|
172 | 161 | *
|
173 |
| - * @return |
174 | 162 | * @since 2.1
|
175 | 163 | */
|
176 | 164 | BootstrapMode bootstrapMode() default BootstrapMode.DEFAULT;
|
|
187 | 175 | * Configures the {@link QueryEnhancerSelector} to select a query enhancer for query introspection and transformation.
|
188 | 176 | *
|
189 | 177 | * @return a {@link QueryEnhancerSelector} class providing a no-args constructor.
|
| 178 | + * @since 4.0 |
190 | 179 | */
|
191 | 180 | Class<? extends QueryEnhancerSelector> queryEnhancerSelector() default QueryEnhancerSelector.DefaultQueryEnhancerSelector.class;
|
192 | 181 | }
|
0 commit comments