Class InjectMaid

    • Constructor Detail

      • InjectMaid

        public InjectMaid()
    • Method Detail

      • anInjectMaid

        public static InjectMaidBuilder anInjectMaid​(de.quantummaid.reflectmaid.ReflectMaid reflectMaid)
      • enterScope

        public <T> Injector enterScope​(de.quantummaid.reflectmaid.GenericType<T> type,
                                       T scopeObject)
        Specified by:
        enterScope in interface Injector
      • enterScope

        public Injector enterScope​(de.quantummaid.reflectmaid.resolvedtype.ResolvedType resolvedType,
                                   Object scopeObject)
        Specified by:
        enterScope in interface Injector
      • enterScope

        public Injector enterScope​(de.quantummaid.reflectmaid.typescanner.TypeIdentifier typeIdentifier,
                                   Object scopeObject)
        Specified by:
        enterScope in interface Injector
      • enterScopeIfExists

        public Optional<Injector> enterScopeIfExists​(de.quantummaid.reflectmaid.typescanner.TypeIdentifier typeIdentifier,
                                                     Object scopeObject)
      • getInstance

        public <T> T getInstance​(de.quantummaid.reflectmaid.typescanner.TypeIdentifier type)
        Specified by:
        getInstance in interface Injector
      • getInstanceWithInitializationTime

        public <T> TimedInstantiation<T> getInstanceWithInitializationTime​(de.quantummaid.reflectmaid.resolvedtype.ResolvedType type)
      • getInstanceWithInitializationTime

        public <T> TimedInstantiation<T> getInstanceWithInitializationTime​(de.quantummaid.reflectmaid.typescanner.TypeIdentifier type,
                                                                           de.quantummaid.reflectmaid.typescanner.TypeIdentifier rootType)
      • canInstantiate

        public boolean canInstantiate​(de.quantummaid.reflectmaid.GenericType<?> type)
        Specified by:
        canInstantiate in interface Injector
      • canInstantiate

        public boolean canInstantiate​(de.quantummaid.reflectmaid.typescanner.TypeIdentifier type)
        Specified by:
        canInstantiate in interface Injector
      • debugInformation

        public String debugInformation()
      • registerExternalObjectToLifecycleManagement

        public void registerExternalObjectToLifecycleManagement​(Object object)
      • reflectMaid

        public de.quantummaid.reflectmaid.ReflectMaid reflectMaid()
        Specified by:
        reflectMaid in interface Injector