Interface ImplementationConfigurators<T extends ImplementationConfigurators<T>>

  • All Known Subinterfaces:
    AbstractInjectorBuilder<T>
    All Known Implementing Classes:
    InjectMaidBuilder
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ImplementationConfigurators<T extends ImplementationConfigurators<T>>
    • Method Detail

      • withImplementation

        default <X> T withImplementation​(Class<X> type,
                                         Class<? extends X> implementation)
      • withImplementation

        default <X> T withImplementation​(de.quantummaid.reflectmaid.GenericType<X> type,
                                         de.quantummaid.reflectmaid.GenericType<? extends X> implementation)
      • withImplementation

        default <X> T withImplementation​(Class<X> type,
                                         Class<? extends X> implementation,
                                         ReusePolicy reusePolicy)
      • withImplementation

        default <X> T withImplementation​(de.quantummaid.reflectmaid.GenericType<X> type,
                                         de.quantummaid.reflectmaid.GenericType<? extends X> implementation,
                                         ReusePolicy reusePolicy)
      • withImplementation

        T withImplementation​(de.quantummaid.reflectmaid.ResolvedType type,
                             de.quantummaid.reflectmaid.ResolvedType implementation,
                             ReusePolicy reusePolicy)