Package | Description |
---|---|
org.hibernate.search.engine.environment.bean | |
org.hibernate.search.mapper.pojo.mapping.definition.programmatic |
Modifier and Type | Method and Description |
---|---|
static BeanReference |
BeanReference.of(String name,
Class<?> type)
Create a
BeanReference referencing a bean by its name and type. |
static BeanReference |
BeanReference.ofName(String name)
Create a
BeanReference referencing a bean by its name. |
static BeanReference |
BeanReference.ofType(Class<?> type)
Create a
BeanReference referencing a bean by its type. |
Modifier and Type | Method and Description |
---|---|
<T> T |
BeanProvider.getBean(BeanReference reference,
Class<T> expectedClass)
Retrieve a bean referenced by its type, name, or both, depending on the content of the
BeanReference . |
Modifier and Type | Method and Description |
---|---|
TypeMappingContext |
TypeMappingContext.bridge(BeanReference bridgeReference) |
PropertyMappingContext |
PropertyMappingContext.bridge(BeanReference bridgeReference) |
PropertyDocumentIdMappingContext |
PropertyDocumentIdMappingContext.identifierBridge(BeanReference bridgeReference) |
TypeMappingContext |
TypeMappingContext.routingKeyBridge(BeanReference bridgeReference) |
S |
PropertyFieldMappingContext.valueBridge(BeanReference bridgeReference) |
Copyright © 2006-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.