Class AbstractCompositeBindingContext
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.bridge.binding.impl.AbstractCompositeBindingContext
-
- All Implemented Interfaces:
BindingContext
- Direct Known Subclasses:
PropertyBindingContextImpl,RoutingBindingContextImpl,TypeBindingContextImpl
public abstract class AbstractCompositeBindingContext extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractCompositeBindingContext(BeanResolver beanResolver, Map<String,Object> params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BeanResolverbeanResolver()Objectparam(String name)Optional<Object>paramOptional(String name)
-
-
-
Constructor Detail
-
AbstractCompositeBindingContext
protected AbstractCompositeBindingContext(BeanResolver beanResolver, Map<String,Object> params)
-
-
Method Detail
-
beanResolver
public BeanResolver beanResolver()
- Specified by:
beanResolverin interfaceBindingContext- Returns:
- A bean provider, allowing the retrieval of beans, including CDI/Spring DI beans when in the appropriate environment.
-
param
public Object param(String name)
- Specified by:
paramin interfaceBindingContext- Parameters:
name- The name of the param- Returns:
- Get a param defined for the binder by the given name
-
paramOptional
public Optional<Object> paramOptional(String name)
- Specified by:
paramOptionalin interfaceBindingContext- Parameters:
name- The name of the param- Returns:
- Get an optional param defined for the binder by the given name, a param having such name may either exist or not.
-
-