|
35 | 35 |
|
36 | 36 | /**
|
37 | 37 | * Enables the user to enable EclipseStore and configure it to some extent.
|
38 |
| - * <p> |
39 |
| - * Currently no configuration is possible! |
40 |
| - * </p> |
41 | 38 | */
|
42 | 39 | @SuppressWarnings("unused")
|
43 | 40 | @Target(ElementType.TYPE)
|
|
55 | 52 | * Alias for the {@link #basePackages()} attribute. Allows for more concise annotation declarations e.g.:
|
56 | 53 | * {@code @EnableEclipseStoreRepositories("org.my.pkg")} instead of
|
57 | 54 | * {@code @EnableEclipseStoreRepositories(basePackages="org.my.pkg")}.
|
58 |
| - * <p> |
59 |
| - * <b>This currently does nothing! Must get implemented in the future. TODO</b> |
60 |
| - * </p> |
61 | 55 | */
|
62 | 56 | String[] value() default {};
|
63 | 57 |
|
64 | 58 | /**
|
65 | 59 | * Base packages to scan for annotated components. {@link #value()} is an alias for (and mutually exclusive with)
|
66 | 60 | * this attribute. Use {@link #basePackageClasses()} for a type-safe alternative to String-based package names.
|
67 |
| - * <p> |
68 |
| - * <b>This currently does nothing! Must get implemented in the future. TODO</b> |
69 |
| - * </p> |
70 | 61 | */
|
71 | 62 | String[] basePackages() default {};
|
72 | 63 |
|
73 | 64 | /**
|
74 | 65 | * Type-safe alternative to {@link #basePackages()} for specifying the packages to scan for annotated components.
|
75 | 66 | * The package of each class specified will be scanned. Consider creating a special no-op marker class or interface
|
76 | 67 | * in each package that serves no purpose other than being referenced by this attribute.
|
77 |
| - * <p> |
78 |
| - * <b>This currently does nothing! Must get implemented in the future. TODO</b> |
79 |
| - * </p> |
80 | 68 | */
|
81 | 69 | Class<?>[] basePackageClasses() default {};
|
82 | 70 |
|
83 | 71 | /**
|
84 | 72 | * Specifies which types are eligible for component scanning. Narrows the set of candidate components from
|
85 | 73 | * everything in {@link #basePackages()} to everything in the base packages that matches the given filter or
|
86 |
| - * <p> |
87 |
| - * <b>This currently does nothing! Must get implemented in the future. TODO</b> |
88 |
| - * </p> |
89 | 74 | * filters.
|
90 | 75 | */
|
91 | 76 | Filter[] includeFilters() default {};
|
92 | 77 |
|
93 | 78 | /**
|
94 | 79 | * Specifies which types are not eligible for component scanning.
|
95 |
| - * <p> |
96 |
| - * <b>This currently does nothing! Must get implemented in the future. TODO</b> |
97 |
| - * </p> |
98 | 80 | */
|
99 | 81 | Filter[] excludeFilters() default {};
|
100 | 82 |
|
101 | 83 | /**
|
102 | 84 | * Returns the postfix to be used when looking up custom repository implementations. Defaults to {@literal Impl} .
|
103 | 85 | * So for a repository named {@code PersonRepository} the corresponding implementation class will be looked up
|
104 | 86 | * scanning for {@code PersonRepositoryImpl}.
|
105 |
| - * <p> |
106 |
| - * <b>This currently does nothing! Must get implemented in the future. TODO</b> |
107 |
| - * </p> |
108 | 87 | *
|
109 | 88 | * @return {@literal Impl} by default.
|
110 | 89 | */
|
|
113 | 92 | /**
|
114 | 93 | * Configures the location of where to find the Spring Data named queries properties file. Will default to
|
115 | 94 | * {@code META-INFO/eclipse-store-named-queries.properties}.
|
116 |
| - * <p> |
117 |
| - * <b>This currently does nothing! Must get implemented in the future. TODO</b> |
118 |
| - * </p> |
119 | 95 | *
|
120 | 96 | * @return empty {@link String} by default.
|
121 | 97 | */
|
|
124 | 100 | /**
|
125 | 101 | * Returns the key of the {@link QueryLookupStrategy} to be used for lookup queries for query methods. Defaults to
|
126 | 102 | * {@link Key#CREATE_IF_NOT_FOUND}.
|
127 |
| - * <p> |
128 |
| - * <b>This currently does nothing! Must get implemented in the future. TODO</b> |
129 |
| - * </p> |
130 | 103 | *
|
131 | 104 | * @return {@link Key#CREATE_IF_NOT_FOUND} by default.
|
132 | 105 | */
|
|
135 | 108 | /**
|
136 | 109 | * Returns the {@link FactoryBean} class to be used for each repository instance. Defaults to
|
137 | 110 | * {@link EclipseStoreRepositoryFactoryBean}.
|
138 |
| - * <p> |
139 |
| - * <b>This currently does nothing! Must get implemented in the future. TODO</b> |
140 |
| - * </p> |
141 | 111 | *
|
142 | 112 | * @return {@link EclipseStoreRepositoryFactoryBean} by default.
|
143 | 113 | */
|
144 | 114 | Class<?> repositoryFactoryBeanClass() default EclipseStoreRepositoryFactoryBean.class;
|
145 | 115 |
|
146 | 116 | /**
|
147 | 117 | * Configure the repository base class to be used to create repository proxies for this particular configuration.
|
148 |
| - * <p> |
149 |
| - * <b>This currently does nothing! Must get implemented in the future. TODO</b> |
150 |
| - * </p> |
151 | 118 | *
|
152 | 119 | * @return {@link DefaultRepositoryBaseClass} by default.
|
153 |
| - * @since 1.8 |
154 | 120 | */
|
155 | 121 | Class<?> repositoryBaseClass() default DefaultRepositoryBaseClass.class;
|
156 | 122 |
|
157 | 123 | /**
|
158 | 124 | * Configures the name of the EclipseStoreTemplate bean to be used with the repositories detected.
|
159 |
| - * <p> |
160 |
| - * <b>This currently does nothing! Must get implemented in the future. TODO</b> |
161 |
| - * </p> |
162 | 125 | *
|
163 | 126 | * @return {@literal eclipse-storeTemplate} by default.
|
164 | 127 | */
|
165 | 128 | String eclipseStoreTemplateRef() default "eclipseStoreTemplate";
|
166 | 129 |
|
167 | 130 | /**
|
168 | 131 | * Whether to automatically create indexes for query methods defined in the repository interface.
|
169 |
| - * <p> |
170 |
| - * <b>This currently does nothing! Must get implemented in the future. TODO</b> |
171 |
| - * </p> |
172 | 132 | *
|
173 | 133 | * @return {@literal false} by default.
|
174 | 134 | */
|
|
177 | 137 | /**
|
178 | 138 | * Configures whether nested repository-interfaces (e.g. defined as inner classes) should be discovered by the
|
179 | 139 | * repositories infrastructure.
|
180 |
| - * <p> |
181 |
| - * <b>This currently does nothing! Must get implemented in the future. TODO</b> |
182 |
| - * </p> |
183 | 140 | *
|
184 | 141 | * @return {@literal false} by default.
|
185 | 142 | */
|
|
0 commit comments