Interface ExecutableBeanContextBinder

All Superinterfaces:
io.micronaut.core.bind.ExecutableBinder<BeanContext>
All Known Implementing Classes:
DefaultExecutableBeanContextBinder

public interface ExecutableBeanContextBinder extends io.micronaut.core.bind.ExecutableBinder<BeanContext>
Sub-interface of ExecutableBinder that binds arguments from a BeanContext.
Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    <T, R> io.micronaut.core.bind.BoundExecutable<T,R>
    bind(io.micronaut.core.type.Executable<T,R> target, BeanContext source)
    Binds a given Executable using the given registry and source object.

    Methods inherited from interface io.micronaut.core.bind.ExecutableBinder

    bind, tryBind
  • Method Details

    • bind

      <T, R> io.micronaut.core.bind.BoundExecutable<T,R> bind(io.micronaut.core.type.Executable<T,R> target, BeanContext source) throws io.micronaut.core.bind.exceptions.UnsatisfiedArgumentException
      Binds a given Executable using the given registry and source object.
      Type Parameters:
      T - The executable target type
      R - The executable return type
      Parameters:
      target - The target executable
      source - The bean context
      Returns:
      The bound executable
      Throws:
      io.micronaut.core.bind.exceptions.UnsatisfiedArgumentException - When the executable could not be satisfied