Interface InjectionPlan

All Known Subinterfaces:
PicoInjectionPlan

public interface InjectionPlan
Represents the injection plan targeting a given ServiceProvider.
  • Method Details

    • serviceProvider

      ServiceProvider<?> serviceProvider()
      The service provider this plan pertains to.
      Returns:
      the service provider this plan pertains to
    • injectionPointInfo

      InjectionPointInfo injectionPointInfo()
      The injection point info for this element, which will also include its identity information.
      Returns:
      the injection point info for this element
    • injectionPointQualifiedServiceProviders

      List<ServiceProvider<?>> injectionPointQualifiedServiceProviders()
      The list of service providers that are qualified to satisfy the given injection point for this service provider.
      Returns:
      the qualified service providers for this injection point
    • wasResolved

      boolean wasResolved()
      Flag indicating whether resolution occurred.
      Returns:
      true if resolution occurred
    • resolved

      Optional<Object> resolved()
      The resolved value, set only if wasResolved().
      Returns:
      any resolved value