Interface BindingContext

All Known Subinterfaces:
IdentifierBindingContext<I>, MarkerBindingContext, PropertyBindingContext, RoutingBindingContext, TypeBindingContext, ValueBindingContext<V>

public interface BindingContext
  • 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 default Object param(String name)
      Deprecated.
      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

      <T> T param(String name, Class<T> paramType)
      Type Parameters:
      T - The type of the parameter.
      Parameters:
      name - The name of the param
      paramType - 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 default Optional<Object> paramOptional(String name)
      Deprecated.
      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

      <T> Optional<T> paramOptional(String name, Class<T> paramType)
      Type Parameters:
      T - The type of the parameter.
      Parameters:
      name - The name of the param
      paramType - 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.