Interface DependencyInjector

All Known Implementing Classes:
AbstractClickNotifierDependencyInjector, AbstractElementsDependencyInjector, AbstractInstallDependencyInjector, AbstractSubscribeDependencyInjector, AbstractSupplyDependencyInjector, EventListenerDependencyInjector, FragmentClickNotifierDependencyInjector, FragmentElementsDependencyInjector, FragmentInstallDependencyInjector, FragmentSubscribeDependencyInjector, FragmentSupplyDependencyInjector, FullCalendarViewInstallDependencyInjector, GeoMapViewElementsDependencyInjector, GeoMapViewInstallDependencyInjector, GeoMapViewSubscribeDependencyInjection, SelectionListenerDependencyInjector, ViewClickNotifierDependencyInjector, ViewElementsDependencyInjector, ViewInstallDependencyInjector, ViewSubscribeDependencyInjector, ViewSupplyDependencyInjector

public interface DependencyInjector
Implementations of the interface are used for wiring of fields/setters and additional dependency injectors to the UI components.
See Also:
  • Method Details

    • autowire

      void autowire(DependencyInjector.AutowireContext<?> autowireContext)
      The method is invoked when the component instance is created. Used to autowire dependencies to the UI component.
      Parameters:
      autowireContext - injection context
    • isApplicable

      boolean isApplicable(DependencyInjector.AutowireContext<?> autowireContext)
      Checks whether this injector can wire the passed injection context.
      Parameters:
      autowireContext - injection content that need to be checked
      Returns:
      true if the passed injection context can be wired, false otherwise