Interface BindingContext
- All Known Subinterfaces:
IdentifierBindingContext<I>
,MarkerBindingContext
,PropertyBindingContext
,RoutingBindingContext
,TypeBindingContext
,ValueBindingContext<V>
public interface BindingContext
-
Method Summary
Modifier and TypeMethodDescriptiondefault Object
Deprecated.<T> T
paramOptional
(String name) Deprecated.UseparamOptional(String, Class)
instead.<T> Optional<T>
paramOptional
(String name, Class<T> paramType)
-
Method Details
-
beanResolver
BeanResolver beanResolver()- Returns:
- A bean provider, allowing the retrieval of beans, including CDI/Spring DI beans when in the appropriate environment.
-
param
Deprecated.Useparam(String, Class)
instead.- Parameters:
name
- The name of the param- Returns:
- Get a param defined for the binder by the given name
- Throws:
SearchException
- if it does not exist a param having such name
-
param
- Type Parameters:
T
- The type of the parameter.- Parameters:
name
- The name of the paramparamType
- The type of the parameter.- Returns:
- Get a param defined for the binder by the given name
- Throws:
SearchException
- if it does not exist a param having such name
-
paramOptional
Deprecated.UseparamOptional(String, Class)
instead.- 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.
-
paramOptional
- Type Parameters:
T
- The type of the parameter.- Parameters:
name
- The name of the paramparamType
- The type of the parameter.- Returns:
- Get an optional param defined for the binder by the given name, a param having such name may either exist or not.
-
param(String, Class)
instead.