Interface Injector

    • Method Detail

      • getInstance

        default <T> T getInstance​(Class<T> type)
      • getInstance

        default <T> T getInstance​(de.quantummaid.reflectmaid.GenericType<T> type)
      • getInstance

        default <T> T getInstance​(de.quantummaid.reflectmaid.resolvedtype.ResolvedType type)
      • getInstance

        <T> T getInstance​(de.quantummaid.reflectmaid.typescanner.TypeIdentifier type)
      • getInstanceWithInitializationTime

        default <T> TimedInstantiation<T> getInstanceWithInitializationTime​(Class<T> type)
      • getInstanceWithInitializationTime

        <T> TimedInstantiation<T> getInstanceWithInitializationTime​(de.quantummaid.reflectmaid.GenericType<T> type)
      • initializeAllSingletons

        void initializeAllSingletons()
      • enterScope

        default <T> Injector enterScope​(Class<T> scopeType,
                                        T scopeObject)
      • enterScope

        <T> Injector enterScope​(de.quantummaid.reflectmaid.GenericType<T> scopeType,
                                T scopeObject)
      • enterScope

        default Injector enterScope​(de.quantummaid.reflectmaid.resolvedtype.ResolvedType scopeType,
                                    Object scopeObject)
      • enterScope

        Injector enterScope​(de.quantummaid.reflectmaid.typescanner.TypeIdentifier scopeType,
                            Object scopeObject)
      • enterScopeIfExists

        default <T> Optional<Injector> enterScopeIfExists​(Class<T> scopeType,
                                                          T scopeObject)
      • enterScopeIfExists

        <T> Optional<Injector> enterScopeIfExists​(de.quantummaid.reflectmaid.GenericType<T> scopeType,
                                                  T scopeObject)
      • enterScopeIfExists

        Optional<Injector> enterScopeIfExists​(de.quantummaid.reflectmaid.resolvedtype.ResolvedType resolvedType,
                                              Object scopeObject)
      • overwriteWith

        void overwriteWith​(Injector injector)
      • canInstantiate

        default boolean canInstantiate​(Class<?> type)
      • canInstantiate

        boolean canInstantiate​(de.quantummaid.reflectmaid.GenericType<?> type)
      • canInstantiate

        default boolean canInstantiate​(de.quantummaid.reflectmaid.resolvedtype.ResolvedType type)
      • canInstantiate

        boolean canInstantiate​(de.quantummaid.reflectmaid.typescanner.TypeIdentifier type)
      • reflectMaid

        de.quantummaid.reflectmaid.ReflectMaid reflectMaid()