Modifier and Type | Field and Description |
---|---|
static BeanReference<ElasticsearchClientFactory> |
ElasticsearchBackendSpiSettings.Defaults.CLIENT_FACTORY |
Modifier and Type | Field and Description |
---|---|
static List<BeanReference<? extends BeanConfigurer>> |
EngineSettings.Defaults.BEAN_CONFIGURERS |
Modifier and Type | Method and Description |
---|---|
<T> OptionalPropertyContext<BeanReference<? extends T>> |
KeyContext.asBeanReference(Class<T> expectedBeanType) |
Modifier and Type | Method and Description |
---|---|
default <U> BeanReference<? extends U> |
BeanReference.asSubTypeOf(Class<U> expectedType)
Cast this reference into a reference whose
getBean(BeanProvider) method is is guaranteed to
either fail or return an instance of the given type. |
static <T> BeanReference<T> |
BeanReference.of(Class<T> type)
Create a
BeanReference referencing a bean by its type only. |
static <T> BeanReference<T> |
BeanReference.of(Class<T> type,
String name)
Create a
BeanReference referencing a bean by type and name. |
static <T> BeanReference<T> |
BeanReference.ofInstance(T instance)
Create a
BeanReference referencing a bean instance directly. |
Modifier and Type | Method and Description |
---|---|
default <T> BeanHolder<T> |
BeanProvider.getBean(BeanReference<T> reference)
Retrieve a bean from a
BeanReference . |
Modifier and Type | Method and Description |
---|---|
default <T> BeanHolder<List<T>> |
BeanProvider.getBeans(List<? extends BeanReference<? extends T>> references)
Retrieve a list of beans from a list of
BeanReference s. |
Modifier and Type | Method and Description |
---|---|
PropertyMappingContext |
PropertyMappingContext.bridge(BeanReference<? extends PropertyBridge> bridgeReference) |
TypeMappingContext |
TypeMappingContext.bridge(BeanReference<? extends TypeBridge> bridgeReference) |
PropertyDocumentIdMappingContext |
PropertyDocumentIdMappingContext.identifierBridge(BeanReference<? extends IdentifierBridge<?>> bridgeReference) |
TypeMappingContext |
TypeMappingContext.routingKeyBridge(BeanReference<? extends RoutingKeyBridge> bridgeReference) |
S |
PropertyFieldMappingContext.valueBridge(BeanReference<? extends ValueBridge<?,?>> bridgeReference) |
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.