Interface DependencyInjector.AutowireContext<T extends com.vaadin.flow.component.Composite<?>>

All Known Implementing Classes:
FragmentAutowireContext, ViewAutowireContext
Enclosing interface:
DependencyInjector

public static interface DependencyInjector.AutowireContext<T extends com.vaadin.flow.component.Composite<?>>
Base injection context interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a collection of objects that have already been autowired and that should not be used in the subsequent injection.
     
  • Method Details

    • getAutowired

      Collection<Object> getAutowired()
      Returns a collection of objects that have already been autowired and that should not be used in the subsequent injection. Implementations of injectors use this collection to avoid overwriting already injected objects. Before injection, the injector checks the element to see if it exists in this collection.
      Returns:
      collection of objects that have already been autowired
    • getTarget

      T getTarget()
      Returns:
      the autowiring target