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.
      Use params() 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

      @Deprecated default <T> T param(String name, Class<T> paramType)
      Deprecated.
      Use params() instead.
      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.
      Use params() 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

      @Deprecated default <T> Optional<T> paramOptional(String name, Class<T> paramType)
      Deprecated.
      Use params() instead.
      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.
    • params

      NamedValues params()
      Returns:
      Parameters defined for the binder.
      See Also: