Annotation Interface SearchExtension
@Target({TYPE,FIELD,METHOD,PARAMETER})
@Retention(RUNTIME)
@Documented
@Qualifier
@Repeatable(List.class)
public @interface SearchExtension
CDI qualifier for beans representing an "extension" of Hibernate Search
in a given persistence unit of Hibernate ORM,
i.e. beans injected into Hibernate Search as part of its configuration.
See the reference documentation for information about extensions that supports this annotation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interface
static class
-
Optional Element Summary
Optional Elements
-
Element Details
-
persistenceUnit
String persistenceUnit- Returns:
- The name of the persistence unit that the qualified bean should be assigned to.
- Default:
- "<default>"
-
backend
String backend- Returns:
- The name of the Hibernate Search backend that the qualified bean should be assigned to.
- Default:
- ""
-
index
String index- Returns:
- The name of the Hibernate Search index that the qualified bean should be assigned to.
- Default:
- ""
-