Uses of Enum
org.hibernate.search.engine.environment.bean.BeanRetrieval
Package
Description
-
Uses of BeanRetrieval in org.hibernate.search.engine.environment.bean
Modifier and TypeMethodDescriptionstatic BeanRetrieval
Returns the enum constant of this type with the specified name.static BeanRetrieval[]
BeanRetrieval.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionstatic <T> BeanReference<T>
BeanReference.of
(Class<T> type, String name, BeanRetrieval retrieval) Create aBeanReference
referencing a bean by type and name.static <T> BeanReference<T>
BeanReference.of
(Class<T> type, BeanRetrieval retrieval) Create aBeanReference
referencing a bean by its type only.<T> BeanHolder<T>
BeanResolver.resolve
(Class<T> typeReference, String nameReference, BeanRetrieval retrieval) Resolve a bean by its name.<T> BeanHolder<T>
BeanResolver.resolve
(Class<T> typeReference, BeanRetrieval retrieval) Resolve a bean by its type. -
Uses of BeanRetrieval in org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing
Modifier and TypeMethodDescription<T> Optional<BeanReference<? extends T>>
MappingAnnotationProcessorContext.toBeanReference
(Class<T> expectedType, Class<?> undefinedTypeMarker, Class<? extends T> type, String name, BeanRetrieval retrieval) Convert attributes of a bean-reference annotation, such asValueBridgeRef
, to an actualBeanReference
.